Commit 9c251879 authored by Nikolay Gromov's avatar Nikolay Gromov

Упорядочил описание input[type='range']

parent ed3a62ee
...@@ -99,45 +99,7 @@ ...@@ -99,45 +99,7 @@
&__help-text { &__help-text {
.help-text(); .help-text();
} padding-top: 0;
&__line {
position: relative;
margin-left: 1.1em;
margin-right: 1.1em;
display: flex;
justify-content: space-between;
}
&__line-item {
position: relative;
display: block;
border-right: 1px solid @border-color;
color: @border-color;
flex-grow: 1;
flex-basis: 0;
max-width: 100%;
text-align: right;
padding-top: 0.7em;
margin-top: 1em;
&:before {
content: attr(data-line-value);
position: absolute;
right: 0;
transform: translateX(50%);
bottom: e("calc(100% + 0.3em)");
font-size: @font-size--small;
line-height: 1;
white-space: nowrap;
}
&:first-child {
position: absolute;
left: 0;
bottom: 0;
}
} }
} }
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
&__line { &__line {
position: relative; position: relative;
margin-left: 1.1em; margin-left: e("calc(1em + 1px)");
margin-right: 1.1em; margin-right: e("calc(1em + 1px)");
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment