Skip to content

Commit

Permalink
fix: menuitem: add no wrap do long text doesnt wrap to next line
Browse files Browse the repository at this point in the history
  • Loading branch information
ychhabra-eightfold committed Aug 26, 2022
1 parent a65b1e9 commit f03734a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Menu/MenuItem/menuItem.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
font-weight: $text-font-weight-regular;
transition: all $motion-duration-extra-fast $motion-easing-easeinout 0s;
margin: $space-xxs 0;
white-space: nowrap;

&.large {
height: 44px;
Expand Down Expand Up @@ -114,6 +115,7 @@
border-bottom: solid 1px var(--border-color);
margin: 0 $space-m $space-m;
font-weight: $text-font-weight-semibold;
white-space: nowrap;

&:first-child {
padding-top: 0;
Expand Down

0 comments on commit f03734a

Please sign in to comment.