File tree 3 files changed +9
-8
lines changed
3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 113
113
cursor : default;
114
114
display : flex;
115
115
flex-direction : row;
116
- height : var (--sidebar-item-height );
116
+ min- height: var (--sidebar-item-height );
117
117
justify-content : center;
118
- overflow : hidden;
119
118
position : relative;
120
119
text-decoration : none;
121
120
}
@@ -166,6 +165,7 @@ a.sidebarActive :global(.stacked) img:last-child,
166
165
.single img {
167
166
opacity : .6 ;
168
167
transition : opacity 0.2s ease;
168
+ vertical-align : top;
169
169
}
170
170
171
171
a .sidebarActive .single img ,
@@ -179,10 +179,10 @@ a.sidebarActive .single img,
179
179
line-height : 1 ;
180
180
flex : 1 ;
181
181
padding-top : 0 ;
182
- padding-right : var ( --space-default ) ;
182
+ padding-right : 16 px ;
183
183
font-size : var (--size-default );
184
184
font-weight : 400 ;
185
- transition : all 0.2s ease;
185
+ /* transition: all 0.2s ease; /* TODO: why all, what is this even supposed to be transitioning */
186
186
word-break : break-word;
187
187
}
188
188
Original file line number Diff line number Diff line change 358
358
359
359
.stacked img {
360
360
transition : opacity 0.2s ease;
361
+ vertical-align : top;
361
362
}
362
363
363
364
.stacked img : last-child {
Original file line number Diff line number Diff line change 74
74
75
75
/* sidebar */
76
76
--sidebar-width-large : 250px ;
77
- --sidebar-margin : 3.2 rem ;
78
- --sidebar-item-height : 5.2 rem ;
79
- --sidebar-icon-margin : 1.4 rem ;
80
- --sidebar-icon-size : 2.4 rem ;
77
+ --sidebar-margin : 32 px ;
78
+ --sidebar-item-height : 52 px ;
79
+ --sidebar-icon-margin : 14 px ;
80
+ --sidebar-icon-size : 24 px ;
81
81
--sidebar-header-size : 1.2rem ;
82
82
--sidebar-header-line-height : 1.6rem ;
83
83
You can’t perform that action at this time.
0 commit comments