Browse Source

fix the design sidebar for mozilla firefox

AlexiCauvin 6 years ago
parent
commit
32a68d2fbe
1 changed files with 8 additions and 4 deletions
  1. 8 4
      src/css/Sidebar.styl

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

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