Style adjustments to input fields.

This commit is contained in:
Fredrik Jonsson 2023-11-21 12:09:59 +01:00
commit cc408bcc33
2 changed files with 6 additions and 5 deletions

View file

@ -132,7 +132,6 @@ article {
.search-text {
font-size: var(--fs-l);
max-width: 80%;
}
// Form

View file

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