about summary refs log tree commit diff
path: root/app/javascript/styles/mastodon/polls.scss
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2022-06-02 02:22:35 +0900
committerGitHub <noreply@github.com>2022-06-01 19:22:35 +0200
commit84266f87e7f3ecc0f6b4aa35d18a2a5dccb47cd4 (patch)
treeeb9657fddde70367c1715232874829a91720560a /app/javascript/styles/mastodon/polls.scss
parent3f1426057474e15c32b0130280e0349ab5e682c0 (diff)
Replace from Code Climate to Super-Linter (#18587)
Diffstat (limited to 'app/javascript/styles/mastodon/polls.scss')
-rw-r--r--app/javascript/styles/mastodon/polls.scss9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/javascript/styles/mastodon/polls.scss b/app/javascript/styles/mastodon/polls.scss
index a719044ea..f553c5501 100644
--- a/app/javascript/styles/mastodon/polls.scss
+++ b/app/javascript/styles/mastodon/polls.scss
@@ -64,8 +64,8 @@
       max-width: calc(100% - 45px - 25px);
     }
 
-    input[type=radio],
-    input[type=checkbox] {
+    input[type="radio"],
+    input[type="checkbox"] {
       display: none;
     }
 
@@ -73,7 +73,7 @@
       flex: 1 1 auto;
     }
 
-    input[type=text] {
+    input[type="text"] {
       display: block;
       box-sizing: border-box;
       width: 100%;
@@ -109,7 +109,6 @@
     box-sizing: border-box;
     width: 18px;
     height: 18px;
-    flex: 0 0 auto;
     margin-right: 10px;
     top: -1px;
     border-radius: 50%;
@@ -198,7 +197,7 @@
 
     &:active,
     &:focus {
-      background-color: rgba($dark-text-color, .1);
+      background-color: rgba($dark-text-color, 0.1);
     }
   }