Sfoglia il codice sorgente

fix the design sidebar for mozilla firefox

AlexiCauvin 6 anni fa
parent
commit
32a68d2fbe
1 ha cambiato i file con 8 aggiunte e 4 eliminazioni
  1. 8 4
      src/css/Sidebar.styl

+ 8 - 4
src/css/Sidebar.styl Vedi File

@@ -43,7 +43,7 @@ leftside()
43 43
   &__expand
44 44
     position absolute
45 45
     top 0
46
-    right -42px
46
+    right -43px
47 47
     display flex
48 48
     justify-content center
49 49
     align-items center
@@ -105,13 +105,13 @@ leftside()
105 105
           width 100%
106 106
           background-color fourthColor
107 107
           overflow hidden
108
+          & > li
109
+            display block
108 110
           &__dropdown
109 111
             display flex
110 112
             align-items center
111
-            border-top 1px solid secondColor
113
+            border-bottom 1px solid secondColor
112 114
             cursor pointer
113
-            &:nth-last-child(1)
114
-              border-bottom 1px solid secondColor
115 115
             &:hover
116 116
               background-color thirdColor
117 117
             &__showdropdown
@@ -124,6 +124,10 @@ leftside()
124 124
               padding 10px 15px
125 125
               min-width 50px
126 126
               leftside()
127
+            .dropdown__title
128
+              white-space nowrap
129
+              overflow hidden
130
+              text-overflow ellipsis
127 131
             &.activeFilter
128 132
               .dropdown__icon
129 133
                 background-color rgba(253, 253, 253, 0.8)