peertube-plugin-livechat/conversejs/custom/sass/_peertubetheme.scss

41 lines
798 B
SCSS
Raw Normal View History

#conversejs.theme-peertube {
// hidding avatars when screen width is not big enough.
@media screen and (max-width: 576px) {
.message {
&.chat-msg {
.chat-msg__content {
2021-11-23 14:21:02 +00:00
margin-left: 0.5em;
width: 100%;
}
&.chat-msg--followup {
&.chat-msg--with-avatar .chat-msg__content {
margin-left: 0.5em;
}
}
.chat-msg__avatar {
display: none;
}
2021-11-23 14:21:02 +00:00
.chat-msg__body {
margin-left: 1em;
}
}
}
}
// Bigger occupants sidebar when width is not big enough.
@media screen and (max-width: 576px) {
.chatroom {
.box-flyout {
.chatroom-body {
.occupants {
min-width: 50%;
}
}
}
}
}
}