fix default textarea styles (broke in latest chrome)

This commit is contained in:
Sean Yesmunt 2020-05-26 13:12:15 -04:00
parent f64e659a7c
commit 53043ae8b3
2 changed files with 4 additions and 90 deletions

View file

@ -117,6 +117,10 @@ img {
text-indent: -9999px;
}
textarea {
min-height: calc(var(--height-input) * 2);
}
.columns {
display: flex;
justify-content: space-between;

View file

@ -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;
}