File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
apps/files/src/components Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -102,12 +102,12 @@ $stack-shift: 6px;
102102 display : flex ;
103103 overflow : hidden ;
104104 align-items : center ;
105- height : 44 px ;
106- padding : 6 px 12 px ;
105+ height : $size + $stack-shift ;
106+ padding : $stack-shift $stack-shift * 2 ;
107107 background : var (--color-main-background );
108108
109109 & __icon ,
110- .files-list__row-icon {
110+ .files-list__row-icon-preview-container {
111111 display : flex ;
112112 overflow : hidden ;
113113 align-items : center ;
@@ -119,7 +119,7 @@ $stack-shift: 6px;
119119
120120 & __icon {
121121 overflow : visible ;
122- margin-inline-end : 12 px ;
122+ margin-inline-end : $stack-shift * 2 ;
123123
124124 img {
125125 max-width : 100% ;
@@ -138,13 +138,15 @@ $stack-shift: 6px;
138138 display : flex ;
139139
140140 // Stack effect if more than one element
141- .files-list__row-icon + .files-list__row-icon {
141+ // Max 3 elements
142+ > .files-list__row-icon-preview-container + .files-list__row-icon-preview-container {
142143 margin-top : $stack-shift ;
143- margin-inline-start : $stack-shift - $size ;
144- & + .files-list__row-icon {
144+ margin-inline-start : $stack-shift * 2 - $size ;
145+ & + .files-list__row-icon-preview-container {
145146 margin-top : $stack-shift * 2 ;
146147 }
147148 }
149+
148150 // If we have manually clone the preview,
149151 // let's hide any fallback icons
150152 & :not (:empty ) + * {
You can’t perform that action at this time.
0 commit comments