Skip to content

Commit

Permalink
fix(nav-drawer): move full width to the base container files since it…
Browse files Browse the repository at this point in the history
… is the same in all themes.
  • Loading branch information
desig9stein committed May 17, 2024
1 parent bdbe5b4 commit acb6b9a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/components/nav-drawer/themes/container.base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
@use 'styles/utilities' as *;

:host {
--menu-full-width: #{rem(240px)};

display: flex;
flex-shrink: 0;
font-family: var(--ig-font-family);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@use 'styles/utilities' as *;

:host {
--menu-full-width: #{rem(208px)};
--menu-mini-width: #{rem(88px)};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
$theme: $fluent;

:host {
--menu-full-width: #{rem(240px)};
--menu-mini-width: #{rem(40px)};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
$theme: $indigo;

:host {
--menu-full-width: #{rem(240px)};
--menu-mini-width: #{rem(48px)};

[part='overlay'] {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@use 'styles/utilities' as *;

:host {
--menu-full-width: #{rem(240px)};
--menu-mini-width: #{rem(56px)};
}

Expand Down

0 comments on commit acb6b9a

Please sign in to comment.