Skip to content

Commit

Permalink
fix(styles): menu full width (#4632)
Browse files Browse the repository at this point in the history
* fix: menu full width

* chore: run [ci visual]

* fix: added max width to the menu item [ci visual]
  • Loading branch information
g-cheishvili authored Jun 22, 2023
1 parent 320a816 commit e07d292
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/styles/src/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ $block: #{$fd-namespace}-menu;
flex-wrap: wrap;
}

max-width: 20rem;
list-style: none;
box-shadow: var(--sapContent_Shadow1);
border-radius: $fd-menu-border-radius;
Expand Down Expand Up @@ -116,7 +117,7 @@ $block: #{$fd-namespace}-menu;
&__item {
@include fd-reset();

max-width: 20rem;
max-width: 100%;
position: relative;
border-radius: 0;
background-color: var(--sapList_Background);
Expand Down

0 comments on commit e07d292

Please sign in to comment.