Skip to content

Commit

Permalink
fix(ld-checkbox): disabled background color on mobile safari
Browse files Browse the repository at this point in the history
  • Loading branch information
borisdiakur committed Aug 29, 2023
1 parent 471e878 commit b8a00a6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/liquid/components/ld-checkbox/ld-checkbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@

input {
appearance: none;
position: absolute;
inset: 0;
z-index: 1;
width: 100%;
background-color: transparent; /* Required for Mobile Sarari */
height: 100%;
inset: 0;
margin: 0;
position: absolute;
width: 100%;
z-index: 1;

&:checked {
~ .ld-checkbox__check {
Expand Down

0 comments on commit b8a00a6

Please sign in to comment.