Style adjustments to input fields.
This commit is contained in:
parent
e42f7228ff
commit
cc408bcc33
1 changed files with 6 additions and 5 deletions
|
|
@ -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