Skip to content

Commit 0fb596d

Browse files
authored
fix(nav-drawer): make sure that the icon has no margin on the left (#14326)
1 parent c281217 commit 0fb596d

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

projects/igniteui-angular/src/lib/core/styles/components/navdrawer/_navdrawer-theme.scss

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -356,18 +356,9 @@
356356
justify-content: flex-start;
357357

358358
igx-icon {
359-
--component-size: 3;
359+
--component-size: #{if($variant == 'indigo-design', 2, 3)};
360360

361361
color: var-get($theme, 'item-icon-color');
362-
@if $variant == 'indigo-design' {
363-
margin-inline-start: rem(4px);
364-
}
365-
}
366-
367-
span {
368-
@if $variant == 'indigo-design' {
369-
padding-inline-start: rem(8px);
370-
}
371362
}
372363

373364
// Need this to override the igx-buttons

0 commit comments

Comments
 (0)