Skip to content

Commit 278fdc4

Browse files
TheoChevalierflodolo
authored andcommitted
Fix CSS on iOS (#837)
1 parent 2876888 commit 278fdc4

2 files changed

Lines changed: 5 additions & 24 deletions

File tree

web/img/check.svg

Lines changed: 2 additions & 23 deletions
Loading

web/style/transvision.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ input[type='submit'] {
559559
border: none;
560560
cursor: pointer;
561561
text-transform: uppercase;
562+
-webkit-appearance: none;
562563
}
563564

564565
.button:hover,
@@ -607,6 +608,7 @@ input[type="checkbox"] + label:before {
607608
border: 1px solid #c1c1c1;
608609
margin: -2px 7px 0 0;
609610
background-color: #f1f1f1;
611+
background-size: 16px;
610612
background-image: linear-gradient(#fff, rgba(255, 255, 255, 0.8));
611613
background-position: center center;
612614
background-repeat: no-repeat;
@@ -619,7 +621,7 @@ input[type="checkbox"]:not(:disabled) + label:hover::before {
619621
}
620622

621623
input[type="checkbox"]:checked + label:before {
622-
background-image: url(/img/check.svg#check), linear-gradient(#fff, rgba(255, 255, 255, 0.8));
624+
background-image: url(/img/check.svg), linear-gradient(#fff, rgba(255, 255, 255, 0.8));
623625
}
624626

625627
input[type="checkbox"]:disabled + label:before {

0 commit comments

Comments
 (0)