Skip to content
Snippets Groups Projects
Commit 44a03922 authored by Shpuld Shpludson's avatar Shpuld Shpludson
Browse files

Fix/messed up long polls

parent 752ee9d7
No related branches found
No related tags found
No related merge requests found
......@@ -200,6 +200,7 @@ input, textarea, .select {
}
}
+ label::before {
flex-shrink: 0;
display: inline-block;
content: '';
transition: box-shadow 200ms;
......@@ -236,6 +237,7 @@ input, textarea, .select {
}
}
+ label::before {
flex-shrink: 0;
display: inline-block;
content: '✔';
transition: color 200ms;
......
......@@ -31,8 +31,8 @@
:disabled="loading"
:value="index"
>
<label>
{{option.title}}
<label class="option-vote">
<div>{{option.title}}</div>
</label>
</div>
</div>
......@@ -68,8 +68,7 @@
margin: 0 0 0.5em;
}
.poll-option {
margin: 0.5em 0;
height: 1.5em;
margin: 0.75em 0.5em;
}
.option-result {
height: 100%;
......@@ -87,6 +86,7 @@
}
.result-percentage {
width: 3.5em;
flex-shrink: 0;
}
.result-fill {
height: 100%;
......@@ -99,6 +99,10 @@
left: 0;
transition: width 0.5s;
}
.option-vote {
display: flex;
align-items: center;
}
input {
width: 3.5em;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment