File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
projects/igniteui-angular/src/lib/core/styles/components/navdrawer Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 297
297
color : --var ($theme , ' item-text-color' );
298
298
max-height : $drawer-item-max-h ;
299
299
min-width : $drawer-item-min-w ;
300
- margin : $drawer-item-margin ;
301
300
302
301
@if $variant != ' indigo-design' {
302
+ // important is needed to override the typography margins
303
+ margin : $drawer-item-margin !important ;
303
304
padding : rem (12px ) rem (8px );
304
305
} @else {
305
- padding : rem (4px ) rem (4px );
306
-
307
306
// important is needed to override the typography margins
308
307
margin : rem (15px ) $drawer-item-margin !important ;
308
+ padding : rem (4px ) rem (4px );
309
309
}
310
310
311
311
cursor : pointer ;
319
319
justify-content : flex-start ;
320
320
321
321
> igx-icon + span {
322
- margin- #{$left } : rem (32px );
322
+ @if $variant == ' indigo-design' {
323
+ margin- #{$left } : rem (28px );
324
+ } @else {
325
+ margin- #{$left } : rem (32px );
326
+ }
327
+ }
328
+
329
+ span {
330
+ @if $variant == ' indigo-design' {
331
+ padding- #{$left } : rem (4px );
332
+ }
323
333
}
324
334
325
335
igx-icon {
326
336
color : --var ($theme , ' item-icon-color' );
327
337
@if $variant == ' indigo-design' {
328
- margin- #{$left } : rem (4 px );
338
+ margin- #{$left } : rem (2 px );
329
339
}
330
340
}
331
341
You can’t perform that action at this time.
0 commit comments