From 765c2e4e20d761e6702653f25c1b11738734499a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 3 Jun 2020 21:32:51 +0200 Subject: [PATCH] fix minor iphone rendering bug --- clean.scss | 11 ++++++++--- styles.css | 11 +++++++---- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/clean.scss b/clean.scss index 5a88709..2c0762f 100644 --- a/clean.scss +++ b/clean.scss @@ -20,21 +20,25 @@ ul { list-style: none; } -input, select, textarea, .textarea { +input, select, textarea, .textarea, button { box-sizing: border-box; - appearance: none; box-shadow: none; &:focus { outline: none; } + + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + border-radius: 0; } input[type=checkbox] { margin-right: 5px; } -button, input[type=submit], input[type=button] { +button { &::-moz-focus-inner { border: 0; } @@ -44,6 +48,7 @@ table { border-collapse: separate; border-spacing: 0; } + i { font-style: normal; } diff --git a/styles.css b/styles.css index bac0285..63a96a1 100644 --- a/styles.css +++ b/styles.css @@ -15,17 +15,20 @@ h1, h2, h3, h4, h5, h6 { ul { list-style: none; } -input, select, textarea, .textarea { +input, select, textarea, .textarea, button { box-sizing: border-box; + box-shadow: none; + -webkit-appearance: none; + -moz-appearance: none; appearance: none; - box-shadow: none; } - input:focus, select:focus, textarea:focus, .textarea:focus { + border-radius: 0; } + input:focus, select:focus, textarea:focus, .textarea:focus, button:focus { outline: none; } input[type=checkbox] { 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; } table {