Fix Field textarea element position and size

This commit is contained in:
Alice Gaudon 2021-11-09 18:00:52 +01:00
parent baeea368ff
commit 5cea1b866e

View File

@ -159,19 +159,6 @@
height: 60px; height: 60px;
} }
.has-icon {
input,
select,
select,
textarea,
.form-display,
.textarea-growing-wrapper,
.textarea-growing-wrapper:after {
margin-left: -60px;
padding-left: 68px;
}
}
select { select {
position: relative; position: relative;
-webkit-appearance: none; -webkit-appearance: none;
@ -230,6 +217,24 @@
} }
} }
.has-icon {
input,
select,
select,
textarea,
.form-display,
.textarea-growing-wrapper,
.textarea-growing-wrapper:after {
margin-left: -60px;
padding-left: 68px;
}
textarea {
margin-left: -68px;
width: calc(100% + 68px);
}
}
input[type=color] { input[type=color] {
height: calc(32px + 8px + 32px); height: calc(32px + 8px + 32px);
} }