Skip to content

Commit

Permalink
fix(fix label z-index): fix label z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
jlison committed Mar 15, 2020
1 parent a085e51 commit b2c0c91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
position: absolute;
top: -16px;
width: 100%;
z-index: -100;

> span {
@include border-radius(3px);
Expand All @@ -24,9 +25,11 @@

input:focus ~ label[touched='true'] {
opacity: 1;
z-index: 100;
}

label[visible='true'] {
opacity: 1;
z-index: 100;
}
}

0 comments on commit b2c0c91

Please sign in to comment.