Sfoglia il codice sorgente

Enforce avatar img size

JC Brand 6 anni fa
parent
commit
3505750536
2 ha cambiato i file con 7 aggiunte e 3 eliminazioni
  1. 4 2
      css/converse.css
  2. 3 1
      sass/_messages.scss

+ 4 - 2
css/converse.css

@@ -11866,9 +11866,11 @@ body.reset {
       display: block; }
   #conversejs .message.chat-msg .chat-msg__avatar {
     margin-top: 0.5em;
-    height: 36px;
     vertical-align: middle;
-    width: 36px; }
+    height: 36px;
+    width: 36px;
+    min-height: 36px;
+    min-width: 36px; }
   #conversejs .message.chat-msg .chat-msg__heading {
     width: 100%;
     margin-top: 0.5em;

+ 3 - 1
sass/_messages.scss

@@ -198,9 +198,11 @@
 
             .chat-msg__avatar {
                 margin-top: 0.5em;
-                height: 36px;
                 vertical-align: middle;
+                height: 36px;
                 width: 36px;
+                min-height: 36px;
+                min-width: 36px;
             }
 
             .chat-msg__heading {