فهرست منبع

CSS fixes

- Use :before to make sure container maintains its height
- Don't space out words in the textarea
JC Brand 5 سال پیش
والد
کامیت
ced8b8acdc
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      sass/_chatbox.scss

+ 4 - 1
sass/_chatbox.scss

@@ -235,6 +235,10 @@
                 font-style: italic;
                 font-style: italic;
                 line-height: var(--line-height-small);
                 line-height: var(--line-height-small);
                 padding: 0 1em 0.3em;
                 padding: 0 1em 0.3em;
+
+                &:before {
+                    content: " ";
+                }
             }
             }
 
 
             video {
             video {
@@ -300,7 +304,6 @@
                 min-height: var(--chat-textarea-height);
                 min-height: var(--chat-textarea-height);
                 margin-bottom: -4px; // Not clear why this is necessar :(
                 margin-bottom: -4px; // Not clear why this is necessar :(
                 resize: none;
                 resize: none;
-                 text-align: justify;
                 &:active, &:focus{
                 &:active, &:focus{
                     outline-color: var(--chat-head-color);
                     outline-color: var(--chat-head-color);
                 }
                 }