Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan Zhu <picturepan2@hotmail.com>2017-02-28 10:52:12 +0300
committerYan Zhu <picturepan2@hotmail.com>2017-02-28 10:52:12 +0300
commit4b0bd3a665f93f726a88ef8cc1f9789fdb1add14 (patch)
tree55637088c36350659d9f8b17d4b3cd57dd49881e /src/bars.less
parent887557c54c5dc2f7b97327b52631187717af6492 (diff)
CHG: Fix Bars bug when larger than 100% width and update docs
Diffstat (limited to 'src/bars.less')
-rw-r--r--src/bars.less3
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;
}
}
}