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