aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-06-20 13:00:10 +0000
committerShpuld Shpludson <shp@cock.li>2019-06-20 13:00:10 +0000
commit44a03922e60335215eb93f14441f5905405b7ecc (patch)
treea78f32ebd019fc33222f7fc0bda23a300a6f218b /src/components
parent752ee9d70c48050fc9fe5da5501773b24fc597fc (diff)
Fix/messed up long polls
Diffstat (limited to 'src/components')
-rw-r--r--src/components/poll/poll.vue12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/components/poll/poll.vue b/src/components/poll/poll.vue
index 28e9f4a8..4c765ae2 100644
--- a/src/components/poll/poll.vue
+++ b/src/components/poll/poll.vue
@@ -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;
}