From dec5068ca9c09827c92571efa7b455abfa2c3cda Mon Sep 17 00:00:00 2001 From: Johnny Date: Sat, 18 Apr 2020 21:48:21 +1000 Subject: [PATCH 1/2] Update dump list CSS - Adds both prefixed and unprefixed versions of `box-sizing` - Consistently `transform` across browsers --- src/css/style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/css/style.css b/src/css/style.css index 72e394520..8a21c338a 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -1023,6 +1023,7 @@ div[data-checked="false"] > .suboption-list { } .catalog-post .prettyprinted { max-width: 100%; + -moz-box-sizing: border-box; box-sizing: border-box; } .catalog-post .MathJax_Display { @@ -1711,6 +1712,7 @@ input.field.tripped:not(:hover):not(:focus) { } .field { -moz-box-sizing: border-box; + box-sizing: border-box; margin: 0px; padding: 2px 4px 3px; } @@ -1970,6 +1972,7 @@ input[type="checkbox"]:checked ~ .checkbox-letter { } .qr-preview { -moz-box-sizing: border-box; + box-sizing: border-box; counter-increment: thumbnails; cursor: move; display: inline-block; @@ -2050,7 +2053,9 @@ a:only-of-type > .remove { position: absolute; bottom: 20px; right: 10px; + -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); + transform: translateY(-50%); } .textarea { position: relative; From 6a226502f36f9486328d89b28dccdb05ed90fd5b Mon Sep 17 00:00:00 2001 From: Johnny Date: Sat, 18 Apr 2020 21:58:15 +1000 Subject: [PATCH 2/2] Remove -moz prefix The `-moz` prefix isn't needed as 16+ supports unprefixed. --- src/css/style.css | 1 - 1 file changed, 1 deletion(-) diff --git a/src/css/style.css b/src/css/style.css index 8a21c338a..c26f7d021 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -2054,7 +2054,6 @@ a:only-of-type > .remove { bottom: 20px; right: 10px; -webkit-transform: translateY(-50%); - -moz-transform: translateY(-50%); transform: translateY(-50%); } .textarea {