Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

ref(chat): make wider

Leonard Kimec2826e0fc21
diff --git a/css/_chat.scss b/css/_chat.scss
index 8cb0906f85..a47e52d230 100644
--- a/css/_chat.scss
+++ b/css/_chat.scss
@@ -1,6 +1,6 @@
#sideToolbarContainer {
background-color: $newToolbarBackgroundColor;
- display: flex;
+
/**
* Make the sidebar flush with the top of the toolbar. Take the size of
* the toolbar and subtract from 100%.
@@ -43,7 +43,7 @@
font-size: 10pt;
line-height: 20px;
overflow: auto;
- padding: 5px;
+ padding: 16px;
text-align: left;
width: $sidebarWidth;
word-wrap: break-word;
@@ -189,9 +189,6 @@
.chatmessage {
background-color: rgba(240, 243, 247, 0.15);
- width: 93%;
- margin-left: 9px;
- margin-right: auto;
border-radius: 0px 6px 6px 6px;
margin-top: 3px;
color: white;
@@ -248,14 +245,22 @@
.smileys-panel {
bottom: 100%;
box-sizing: border-box;
- height: 0;
+ height: auto;
+ max-height: 0;
overflow: hidden;
position: absolute;
- transition: height 0.3s;
width: $sidebarWidth;
+ /**
+ * CSS transitions do not apply for auto dimensions. So to produce the css
+ * accordion effect for showing and hiding the smiley-panel, while allowing
+ * for variable panel, height, use a very large max-height and animate off
+ * of that.
+ */
+ transition: max-height 0.3s;
+
&.show-smileys {
- height: 146px;
+ max-height: 500%;
}
#smileysContainer {
diff --git a/css/_variables.scss b/css/_variables.scss
index e887e09779..95e86527d6 100644
--- a/css/_variables.scss
+++ b/css/_variables.scss
@@ -87,7 +87,7 @@ $modalTextColor: #333;
*/
$borderRadius: 4px;
$defaultWatermarkLink: '../images/watermark.png';
-$sidebarWidth: 220px;
+$sidebarWidth: 375px;
$popoverMenuPadding: 13px;
$happySoftwareBackground: transparent;
$desktopAppDragBarHeight: 25px;