Procházet zdrojové kódy

fix(contact-list): update avatar sizing

With interfaceConfig.SHOW_CONTACTLIST_AVATARS, the avatars in the
contact list are too big and will overlap each other. Constrain
the avatar sizes and make each contact a little taller to better
space each out.
master
Leonard Kim před 7 roky
rodič
revize
4938d1b6de
1 změnil soubory, kde provedl 15 přidání a 11 odebrání
  1. 15
    11
      css/_contact_list.scss

+ 15
- 11
css/_contact_list.scss Zobrazit soubor

23
 #contacts {
23
 #contacts {
24
 
24
 
25
     >li {
25
     >li {
26
-        display: block;
26
+        align-items: center;
27
+        border-radius: 3px;
28
+        color: $baseLight;
29
+        display: flex;
30
+        font-size: 14px;
31
+        height: 36px;
27
         list-style-type: none;
32
         list-style-type: none;
33
+        padding: 0 10%;
28
         text-align: left;
34
         text-align: left;
29
         white-space: nowrap;
35
         white-space: nowrap;
30
-        color: $baseLight;
31
-        font-size: 16px;
32
-        padding: 0 10%;
33
-        height: 27px;
34
 
36
 
35
         &:hover,
37
         &:hover,
36
         &:active {
38
         &:active {
38
         }
40
         }
39
 
41
 
40
         > p {
42
         > p {
41
-            display: inline-block;
42
-            vertical-align: middle;
43
-            margin: 0px;
44
-            width: 100%;
45
-            line-height: 1.5em;
46
-            text-overflow: ellipsis;
47
             overflow: hidden;
43
             overflow: hidden;
44
+            text-overflow: ellipsis;
45
+        }
46
+
47
+        .avatar {
48
+            cursor: pointer;
49
+            height: 24px;
50
+            margin: 0 8px 0 4px;
51
+            width: 24px;
48
         }
52
         }
49
     }
53
     }
50
 }
54
 }

Načítá se…
Zrušit
Uložit