Style adjustments to input fields.
This commit is contained in:
parent
e42f7228ff
commit
cc408bcc33
2 changed files with 6 additions and 5 deletions
|
|
@ -132,7 +132,6 @@ article {
|
|||
|
||||
.search-text {
|
||||
font-size: var(--fs-l);
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
// Form
|
||||
|
|
|
|||
|
|
@ -56,9 +56,11 @@ textarea {
|
|||
}
|
||||
}
|
||||
|
||||
// For forms with single field add space between it and the submit button.
|
||||
input:only-of-type {
|
||||
&:has(+ [type='submit']) {
|
||||
margin-right: .5rem;
|
||||
// For forms none mobile with single field add space between it and the submit button.
|
||||
@include respond-to(s) {
|
||||
input:only-of-type {
|
||||
&:has(+ [type='submit']) {
|
||||
margin-right: .5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue