Skip to content

Commit

Permalink
fix: add overflow rules for bar-element (#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
InnaAtanasova committed Feb 21, 2020
1 parent 0660fb6 commit f20971e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ $block: #{$fd-namespace}-bar;
justify-content: center;
margin-right: $fd-bar-element-spacing;
max-width: 100%;
max-height: 100%;
overflow: hidden;

@include fd-rtl() {
margin-right: 0;
Expand All @@ -78,6 +80,10 @@ $block: #{$fd-namespace}-bar;

&__element--full-width {
width: 100%;

& > *:first-child {
flex-grow: 1;
}
}

&__element:last-child {
Expand Down

0 comments on commit f20971e

Please sign in to comment.