Skip to content

Commit

Permalink
fix: wrap menubar when it overflows the container (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnyfux authored Mar 8, 2022
1 parent fd340dc commit 9f85ea6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions projects/ngx-editor/src/lib/editor.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ $menubar-text-padding: 0 $menu-item-spacing;

.NgxEditor__MenuBar {
display: flex;
flex-wrap: wrap;
padding: $menubar-padding;
cursor: default;
background-color: white;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

:host {
display: flex;
flex-wrap: wrap;
background-color: #000;
color: white;
padding: 5px;
Expand Down

0 comments on commit 9f85ea6

Please sign in to comment.