diff options
author | Yan Zhu <picturepan2@hotmail.com> | 2017-02-28 10:52:12 +0300 |
---|---|---|
committer | Yan Zhu <picturepan2@hotmail.com> | 2017-02-28 10:52:12 +0300 |
commit | 4b0bd3a665f93f726a88ef8cc1f9789fdb1add14 (patch) | |
tree | 55637088c36350659d9f8b17d4b3cd57dd49881e /src/bars.less | |
parent | 887557c54c5dc2f7b97327b52631187717af6492 (diff) |
CHG: Fix Bars bug when larger than 100% width and update docs
Diffstat (limited to 'src/bars.less')
-rw-r--r-- | src/bars.less | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bars.less b/src/bars.less index 61426c3..d410fdb 100644 --- a/src/bars.less +++ b/src/bars.less @@ -3,6 +3,7 @@ background: @core-border-color; border-radius: @border-radius; display: flex; + flex-wrap: nowrap; height: 1.6rem; width: 100%; @@ -16,6 +17,7 @@ color: @core-light-color; display: block; font-size: 1.2rem; + flex-shrink: 0; line-height: 1; height: 100%; padding: .2rem 0; @@ -29,6 +31,7 @@ &:last-of-type { border-bottom-right-radius: @border-radius; border-top-right-radius: @border-radius; + flex-shrink: 1; } } } |