@@ -279,24 +279,32 @@ export default {
279279 z-index : 100 ;
280280 padding-left : $card-spacing ;
281281 cursor : grab ;
282+ min-height : 44px ;
282283
283284 // Smooth fade out of the cards at the top
284285 & :before {
285286 content : ' ' ;
286287 display : block ;
287288 position : absolute ;
288- background-image : linear-gradient (180deg , var (--color-main-background ) 3px , transparent 100% );
289289 width : 100% ;
290- height : 25 px ;
291- top : 35 px ;
292- right : 6 px ;
290+ height : 20 px ;
291+ top : 30 px ;
292+ right : 10 px ;
293293 z-index : 99 ;
294294 transition : top var (--animation-slow );
295+
296+ background-image : linear-gradient (180deg , var (--color-main-background ) 3px , rgba (255 , 255 , 255 , 0 ) 100% );
297+ body .theme--dark & {
298+ background-image : linear-gradient (180deg , var (--color-main-background ) 3px , rgba (0 , 0 , 0 , 0 ) 100% );
299+ }
295300 }
296301
297302 & --add :before {
298303 height : 80px ;
299- background-image : linear-gradient (180deg , var (--color-main-background ) 68px , transparent 100% );
304+ background-image : linear-gradient (180deg , var (--color-main-background ) 68px , rgba (255 , 255 , 255 , 0 ) 100% );
305+ body .theme--dark & {
306+ background-image : linear-gradient (180deg , var (--color-main-background ) 68px , rgba (0 , 0 , 0 , 0 ) 100% );
307+ }
300308 }
301309
302310 & > * {
@@ -323,7 +331,9 @@ export default {
323331 }
324332
325333 .stack__card-add {
326- height : 52px ;
334+ width : $stack-width ;
335+ height : 44px ;
336+ flex-shrink : 0 ;
327337 z-index : 100 ;
328338 display : flex ;
329339 margin-left : 12px ;
@@ -336,10 +346,10 @@ export default {
336346 display : flex ;
337347 width : 100% ;
338348 margin : 0 ;
339- margin-right : 6px ;
340349 box-shadow : 0 0 3px var (--color-box-shadow );
341350 border-radius : var (--border-radius-large );
342351 overflow : hidden ;
352+ padding : 2px ;
343353 }
344354
345355 & .icon-loading-small :after ,
0 commit comments