Selaa lähdekoodia

CSS fixes

- Use :before to make sure container maintains its height
- Don't space out words in the textarea
JC Brand 5 vuotta sitten
vanhempi
commit
ced8b8acdc
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 4 1
      sass/_chatbox.scss

+ 4 - 1
sass/_chatbox.scss

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