about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-03-04 01:54:14 +0100
committerEugen Rochko <eugen@zeonfederated.com>2019-03-04 01:54:14 +0100
commit4ced609497bc736cb2b1aec921ba5ca7a23a7f53 (patch)
tree7b4dc92e7ac2c516e0b99a29dd5104735a0474c5 /app/javascript/styles
parent1a7de769a318bbb9c01ec520c2033fffee4e89c3 (diff)
Fixes to the polls UI (#10150)
* Allow unselecting choices in multiple choice polls

* Properly disable checkboxes/radio buttons for polls in public pages

* Visually differentiate checkboxes and radio buttons
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/mastodon/polls.scss6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/polls.scss b/app/javascript/styles/mastodon/polls.scss
index b93d36e92..f42496559 100644
--- a/app/javascript/styles/mastodon/polls.scss
+++ b/app/javascript/styles/mastodon/polls.scss
@@ -47,9 +47,13 @@
     height: 18px;
     margin-right: 10px;
     top: -1px;
-    border-radius: 4px;
+    border-radius: 50%;
     vertical-align: middle;
 
+    &.checkbox {
+      border-radius: 4px;
+    }
+
     &.active {
       border-color: $valid-value-color;
       background: $valid-value-color;