Skip to content

Commit 58573db

Browse files
committed
fix(docs): improved label/input hover debug
Fix #503
1 parent a880721 commit 58573db

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/css/_documentation.sass

+10
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,16 @@ code
346346
outline: 1px solid #ff6600
347347
&:before
348348
color: #ff6600
349+
label:hover
350+
// hovering a label containing a input forwards the `:hover` state to the input
351+
// let's hide it except when you focus/activate it
352+
input[class^=ais-]:hover
353+
&:before
354+
display: none
355+
input[class^=ais-]:focus, input[class^=ais-]:active
356+
&:before
357+
display: block
358+
349359

350360
@media (max-width: $screen-sm-max)
351361
.main-documentation

0 commit comments

Comments
 (0)