Fix checkbox outline
authorChocobozzz <me@florianbigard.com>
Wed, 5 Jun 2019 07:25:44 +0000 (09:25 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 6 Jun 2019 09:43:01 +0000 (11:43 +0200)
client/src/sass/include/_mixins.scss

index 228a6116e8c517b91c01a1267da4704b57067be3..d4a2269a1b9767e3bbfc2c66b8b9631ae78cb76b 100644 (file)
 
 @mixin peertube-checkbox ($border-width) {
   opacity: 0;
-  width: 0;
+  position: absolute;
 
   &:focus + span {
-    outline: auto;
+    outline: 1px solid #1e5180;
   }
 
   & + span {