Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commit4b0bd3a665f93f726a88ef8cc1f9789fdb1add14 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-02-28 15:52:12 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-02-28 15:52:12 +0800
Files55637088c36350659d9f8b17d4b3cd57dd49881e /src
Spectre-Dark-Gruvbox-4b0bd3a665f93f726a88ef8cc1f9789fdb1add14.tar
Spectre-Dark-Gruvbox-4b0bd3a665f93f726a88ef8cc1f9789fdb1add14.tar.gz
Spectre-Dark-Gruvbox-4b0bd3a665f93f726a88ef8cc1f9789fdb1add14.zip
Parent887557c54c5dc2f7b97327b52631187717af6492 (diff)
CHG: Fix Bars bug when larger than 100% width and update docs
1 files changed, 3 insertions, 0 deletions
-rw-r--r--src/bars.less3
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;
}
}
}