From 53043ae8b36438c43172425c2253d92a0886c8b0 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 26 May 2020 13:12:15 -0400 Subject: [PATCH] fix default textarea styles (broke in latest chrome) --- ui/scss/init/_gui.scss | 4 ++ ui/scss/init/_reset.scss | 90 ---------------------------------------- 2 files changed, 4 insertions(+), 90 deletions(-) delete mode 100644 ui/scss/init/_reset.scss diff --git a/ui/scss/init/_gui.scss b/ui/scss/init/_gui.scss index 913e32b66..f14cf2c60 100644 --- a/ui/scss/init/_gui.scss +++ b/ui/scss/init/_gui.scss @@ -117,6 +117,10 @@ img { text-indent: -9999px; } +textarea { + min-height: calc(var(--height-input) * 2); +} + .columns { display: flex; justify-content: space-between; diff --git a/ui/scss/init/_reset.scss b/ui/scss/init/_reset.scss deleted file mode 100644 index c16e74dce..000000000 --- a/ui/scss/init/_reset.scss +++ /dev/null @@ -1,90 +0,0 @@ -// Mozilla prefixes are unnecessary for app, necessary for LBRY Web - -html { - box-sizing: border-box; - text-rendering: optimizeLegibility; - - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; -} - -*, -*::before, -*::after { - margin: 0; - padding: 0; - - border: none; - box-sizing: inherit; - outline: 0 !important; - user-select: none; -} - -area, -input, -label, -select, -summary, -textarea { - // Remove touch delay on supported devices - touch-action: manipulation; -} - -button, -input, -select, -textarea { - font-family: inherit; - font-size: inherit; - font-weight: inherit; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - font-weight: normal; -} - -ol, -ul { - list-style-position: inside; - - > li { - list-style-position: inside; - } -} - -ul { - list-style-type: none; -} - -label[for] { - cursor: pointer; -} - -table { - border-collapse: collapse; - border-spacing: 0; -} - -dl { - overflow-x: scroll; - overflow-y: hidden; - width: 100%; -} - -textarea { - padding: $spacing-vertical * 1/3; - width: 100%; -} - -img { - width: auto; - height: auto; - max-width: 100%; - max-height: 100%; - vertical-align: middle; -}