File tree Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change 247
247
/* border-bottom: 1px solid var(--clr-border-2); */
248
248
249
249
--base-top-margin : 8 px ;
250
- --base-icon-top : 16 px ;
251
- --base-unfolded : 48 px ;
250
+ --base-row-height : 20 px ;
251
+ --base-row-height-unfolded : 48 px ;
252
+
253
+ --base-icon-top : -8 px ;
252
254
253
255
--avatar-first-top : 50 px ;
254
256
--avatar-top : 16 px ;
255
257
}
256
258
257
- /* .commit-group {
258
- padding-right: 14px;
259
- padding-left: 8px;
260
- } */
261
-
262
259
/* BASE ROW */
263
260
264
261
.base-row-container {
265
262
display : flex;
266
263
flex-direction : column;
267
- height : 20 px ;
264
+ height : var ( --base-row-height ) ;
268
265
269
266
overflow : hidden;
270
267
transition : height var (--transition-medium );
281
278
}
282
279
283
280
.base-row-container_unfolded {
284
- height : var (--base-unfolded );
285
- --base-icon-top : 20 px ;
281
+ --base-row- height : var (--base-row-height -unfolded );
282
+ --base-icon-top : -3 px ;
286
283
287
284
& .base-row__text {
288
285
opacity : 1 ;
293
290
display : flex;
294
291
gap : 8 px ;
295
292
border-top : 1 px solid var (--clr-border-3 );
296
- min-height : calc (var (--base-unfolded ) - var (--base-top-margin ));
293
+ min-height : calc (var (--base-row-height- unfolded ) - var (--base-top-margin ));
297
294
margin-top : var (--base-top-margin );
298
295
transition : background-color var (--transition-fast );
299
296
}
Original file line number Diff line number Diff line change 29
29
height : 16 px ;
30
30
width : 16 px ;
31
31
32
- margin-top : -8 px ;
32
+ margin-top : var ( --base-icon-top ) ;
33
33
margin-bottom : -8 px ;
34
34
margin-left : -9 px ;
35
35
margin-right : -7 px ;
40
40
display : flex;
41
41
align-items : center;
42
42
justify-content : center;
43
+
44
+ transition : margin-top var (--transition-medium );
43
45
}
44
46
}
45
47
</style >
You can’t perform that action at this time.
0 commit comments