about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-09-16 16:12:18 +0200
committerThibaut Girka <thib@sitedethib.com>2019-09-18 17:27:51 +0200
commit454b5ae3af96da4a9a50101b59281f7df6c27a14 (patch)
tree8fc8220f5b591231ffa2c1f3be8226e821489b9d /app/javascript/flavours/glitch
parent75673cf8e35ae985a7f8608b8764a77256d57712 (diff)
[Glitch] Fix poll options checkboxes/radio buttons not being vertically centered
Port d41494226dbe9f3c3cf3b98a376d47b8c836c948 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r--app/javascript/flavours/glitch/styles/polls.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/polls.scss b/app/javascript/flavours/glitch/styles/polls.scss
index 6051ef45d..06f60408d 100644
--- a/app/javascript/flavours/glitch/styles/polls.scss
+++ b/app/javascript/flavours/glitch/styles/polls.scss
@@ -86,6 +86,9 @@
     top: -1px;
     border-radius: 50%;
     vertical-align: middle;
+    margin-top: auto;
+    margin-bottom: auto;
+    flex: 0 0 18px;
 
     &.checkbox {
       border-radius: 4px;