css: fix rounded corners for chats in overlayed mode

This commit is contained in:
JC Brand 2020-07-07 14:06:33 +02:00
parent 54f402867f
commit b8be707dc5

View File

@ -484,17 +484,9 @@
padding: 0.5em; padding: 0.5em;
} }
.chat-head { .chat-head {
border-top-left-radius: var(--chatbox-border-radius);
border-top-right-radius: var(--chatbox-border-radius);
@media screen and (max-height: $mobile-landscape-height) {
border-top-left-radius: 0; border-top-left-radius: 0;
border-top-right-radius: 0; border-top-right-radius: 0;
} }
@media screen and (max-width: $mobile-portrait-length) {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
}
.chatbox { .chatbox {
min-width: var(--overlayed-chat-width) !important; min-width: var(--overlayed-chat-width) !important;
width: var(--overlayed-chat-width); width: var(--overlayed-chat-width);
@ -507,6 +499,20 @@
} }
#conversejs.converse-overlayed { #conversejs.converse-overlayed {
.chat-head, .box-flyout {
border-top-left-radius: var(--chatbox-border-radius);
border-top-right-radius: var(--chatbox-border-radius);
@media screen and (max-height: $mobile-landscape-height) {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
@media screen and (max-width: $mobile-portrait-length) {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
}
.flyout { .flyout {
bottom: var(--overlayed-chatbox-hover-height); bottom: var(--overlayed-chatbox-hover-height);
} }