浏览代码

Improve checkbox keyboard focus styles without changing page layout

Thibaud Colas 3 年之前
父节点
当前提交
c46001604b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      client/scss/elements/_forms.scss

+ 2 - 2
client/scss/elements/_forms.scss

@@ -214,9 +214,9 @@ input[type=radio]:checked:before {
 
 input[type=checkbox] {
     height: 12px;
-    width: auto;
+    width: 22px;
     position: relative;
-    margin-right: 27px;
+    margin-right: 5px;
 }
 
 input[type=checkbox]:before {