Commit 05cdae99 authored by JC Brand's avatar JC Brand

CSS: Revert previous change and only apply if singleton

parent ffd3cda0
...@@ -479,29 +479,6 @@ ...@@ -479,29 +479,6 @@
} }
#conversejs.converse-embedded.converse-singleton {
.flyout {
border: none !important;
}
.chat-head {
height: var(--fullpage-chat-head-height);
padding: 0.5em;
}
.chatbox {
margin: 0;
@include make-col-ready();
@include media-breakpoint-up(md) {
@include make-col(12);
}
@include media-breakpoint-up(lg) {
@include make-col(12);
}
@include media-breakpoint-up(xl) {
@include make-col(12);
}
}
}
#conversejs.converse-embedded, #conversejs.converse-embedded,
#conversejs.converse-fullscreen { #conversejs.converse-fullscreen {
.flyout { .flyout {
...@@ -510,6 +487,7 @@ ...@@ -510,6 +487,7 @@
border: var(--flyout-padding) solid var(--chat-head-color); border: var(--flyout-padding) solid var(--chat-head-color);
bottom: 0; bottom: 0;
} }
.chat-head { .chat-head {
height: var(--fullpage-chat-head-height); height: var(--fullpage-chat-head-height);
padding: 0; padding: 0;
...@@ -525,17 +503,13 @@ ...@@ -525,17 +503,13 @@
@include make-col(2); @include make-col(2);
} }
} }
.chatbox { .chatbox {
margin: 0; margin: 0;
.box-flyout { .box-flyout {
box-shadow: none; box-shadow: none;
overflow: hidden; overflow: hidden;
} }
}
}
#conversejs.converse-embedded {
.chatbox {
@include make-col-ready(); @include make-col-ready();
@include media-breakpoint-up(md) { @include media-breakpoint-up(md) {
@include make-col(8); @include make-col(8);
...@@ -547,6 +521,30 @@ ...@@ -547,6 +521,30 @@
@include make-col(10); @include make-col(10);
} }
} }
&.converse-singleton {
.flyout {
border: none !important;
}
.chat-head {
height: var(--fullpage-chat-head-height);
padding: 0.5em;
}
.chatbox {
margin: 0;
@include make-col-ready();
@include media-breakpoint-up(md) {
@include make-col(12);
}
@include media-breakpoint-up(lg) {
@include make-col(12);
}
@include media-breakpoint-up(xl) {
@include make-col(12);
}
}
}
} }
#conversejs.converse-embedded { #conversejs.converse-embedded {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment