fix minor iphone rendering bug

This commit is contained in:
Dennis Eichhorn 2020-06-03 21:32:51 +02:00
parent 1dfe21d6e8
commit 765c2e4e20
2 changed files with 15 additions and 7 deletions

View File

@ -20,21 +20,25 @@ ul {
list-style: none; list-style: none;
} }
input, select, textarea, .textarea { input, select, textarea, .textarea, button {
box-sizing: border-box; box-sizing: border-box;
appearance: none;
box-shadow: none; box-shadow: none;
&:focus { &:focus {
outline: none; outline: none;
} }
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border-radius: 0;
} }
input[type=checkbox] { input[type=checkbox] {
margin-right: 5px; margin-right: 5px;
} }
button, input[type=submit], input[type=button] { button {
&::-moz-focus-inner { &::-moz-focus-inner {
border: 0; border: 0;
} }
@ -44,6 +48,7 @@ table {
border-collapse: separate; border-collapse: separate;
border-spacing: 0; border-spacing: 0;
} }
i { i {
font-style: normal; font-style: normal;
} }

View File

@ -15,17 +15,20 @@ h1, h2, h3, h4, h5, h6 {
ul { ul {
list-style: none; } list-style: none; }
input, select, textarea, .textarea { input, select, textarea, .textarea, button {
box-sizing: border-box; box-sizing: border-box;
box-shadow: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none; appearance: none;
box-shadow: none; } border-radius: 0; }
input:focus, select:focus, textarea:focus, .textarea:focus { input:focus, select:focus, textarea:focus, .textarea:focus, button:focus {
outline: none; } outline: none; }
input[type=checkbox] { input[type=checkbox] {
margin-right: 5px; } margin-right: 5px; }
button::-moz-focus-inner, input[type=submit]::-moz-focus-inner, input[type=button]::-moz-focus-inner { button::-moz-focus-inner {
border: 0; } border: 0; }
table { table {