Peertube theme: hide avatars when width<576px.
This commit is contained in:
parent
b593d4fc76
commit
d5b212712b
14
conversejs/custom/sass/_peertubetheme.scss
Normal file
14
conversejs/custom/sass/_peertubetheme.scss
Normal file
@ -0,0 +1,14 @@
|
||||
#conversejs.theme-peertube {
|
||||
// hidding avatars when screen width is not big enough.
|
||||
@media screen and (max-width: 576px) {
|
||||
.message {
|
||||
.chat-msg__content {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.chat-msg__avatar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
@import "./variables";
|
||||
@import "sass/converse";
|
||||
@import "./peertubetheme";
|
||||
|
||||
body.livechat-iframe #conversejs .chat-head {
|
||||
// Hidding the chat-head when the plugin is displayed in an iframe.
|
||||
@ -7,6 +8,7 @@ body.livechat-iframe #conversejs .chat-head {
|
||||
}
|
||||
|
||||
#conversejs-bg {
|
||||
// We are using a custom template that differs from the original, this is required.
|
||||
.converse-brand__heading {
|
||||
img {
|
||||
margin-top: 0.3em;
|
||||
|
Loading…
Reference in New Issue
Block a user