Skip to content

Commit 537702c

Browse files
authored
Merge pull request #16671 from IgniteUI/apetrov/indigo-icon-padding
fix(navbar): fix igx-icon padding in Indigo theme
2 parents f4cbad3 + 379d526 commit 537702c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

projects/igniteui-angular/core/src/core/styles/components/navbar/_navbar-theme.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,13 @@
117117
display: flex;
118118
align-items: center;
119119

120+
@if $variant == 'indigo' {
121+
igc-icon-button,
122+
[igxIconButton] {
123+
padding: rem(6px);
124+
}
125+
}
126+
120127
igx-icon,
121128
igc-icon {
122129
--component-size: #{if($variant == 'indigo', 2, 3)};
@@ -128,7 +135,6 @@
128135
@if $variant == 'indigo' {
129136
width: auto;
130137
height: auto;
131-
padding: rem(6px);
132138
}
133139
}
134140

0 commit comments

Comments
 (0)