From 345be2191fb85d83abc1649446347c01426ae1a3 Mon Sep 17 00:00:00 2001 From: desig9stein Date: Fri, 7 Nov 2025 15:06:46 +0200 Subject: [PATCH] fix(navbar): update icon button and icon sizes --- .../components/navbar/_navbar-theme.scss | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/projects/igniteui-angular/src/lib/core/styles/components/navbar/_navbar-theme.scss b/projects/igniteui-angular/src/lib/core/styles/components/navbar/_navbar-theme.scss index 90bb814dd6d..64fdb2bb167 100644 --- a/projects/igniteui-angular/src/lib/core/styles/components/navbar/_navbar-theme.scss +++ b/projects/igniteui-angular/src/lib/core/styles/components/navbar/_navbar-theme.scss @@ -38,6 +38,11 @@ igx-input-group { --ig-size: 1; } + + .igx-icon-button, + igc-icon-button { + --ig-size: 2; + } } @if $variant == 'bootstrap' { @@ -114,30 +119,27 @@ igx-icon, igc-icon { - --component-size: 3; + --component-size: #{if($variant == 'indigo', 2, 3)}; cursor: pointer; user-select: none; transition: color .15s $out-quad; + + @if $variant == 'indigo' { + width: auto; + height: auto; + padding: rem(6px); + } } - >igx-icon, - >igc-icon { + > igx-icon, + > igc-icon { color: var-get($theme, 'idle-icon-color'); &:hover { color: var-get($theme, 'hover-icon-color'); } } - - @if $variant == 'indigo' { - igx-icon, - igc-icon { - --component-size: 2; - - margin-inline: rem(6px); - } - } } igx-navbar-action,