Skip to content

Commit b31a07d

Browse files
fix(navbar): adjust padding and icon/avatar size in indigo theme, remove redundant styles in bootstrap theme (#1956)
Co-authored-by: Simeon Simeonoff <[email protected]>
1 parent 1c4593d commit b31a07d

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

src/components/navbar/themes/shared/navbar.bootstrap.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ $theme: $bootstrap;
55

66
:host {
77
box-shadow: var(--ig-elevation-0);
8-
padding: 0 pad-inline(rem(8px));
9-
}
10-
11-
[part='base'] {
12-
padding-inline: pad-inline(rem(4px));
138
}
149

1510
::slotted(*) {

src/components/navbar/themes/shared/navbar.indigo.scss

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
[name='end']::slotted(*) {
99
margin: initial;
1010
}
11+
12+
::slotted(igc-icon),
13+
::slotted(igc-avatar) {
14+
--ig-size: 2;
15+
}
1116
}
1217

1318
[part='end'] {
@@ -23,12 +28,6 @@
2328
}
2429

2530
::slotted(igc-icon) {
26-
--size: rem(16px);
27-
2831
padding: pad(rem(6px));
2932
margin: 0;
3033
}
31-
32-
::slotted(igc-avatar) {
33-
--ig-size: 2;
34-
}

0 commit comments

Comments
 (0)