FIX: percent-bar flex layout
This commit is contained in:
parent
6c49f4738a
commit
b4a8b25ae7
@ -1,17 +1,21 @@
|
|||||||
@import "../../../../colors.less";
|
@import "../../../../colors.less";
|
||||||
|
|
||||||
.bar {
|
.bar {
|
||||||
position: relative;
|
display: flex;
|
||||||
color: white;
|
|
||||||
border-radius: 0.5em;
|
border-radius: 0.5em;
|
||||||
|
|
||||||
.part {
|
.part {
|
||||||
float: left;
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-size: 40%;
|
font-size: 40%;
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
padding-left: 0.25em;
|
padding-left: 0.4em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.part:first-child {
|
||||||
|
.text:first-child {
|
||||||
|
padding-left: 0.8em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user