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 { .search-text {
font-size: var(--fs-l); font-size: var(--fs-l);
max-width: 80%;
} }
// Form // Form

View file

@ -56,9 +56,11 @@ textarea {
} }
} }
// For forms with single field add space between it and the submit button. // For forms none mobile with single field add space between it and the submit button.
input:only-of-type { @include respond-to(s) {
&:has(+ [type='submit']) { input:only-of-type {
margin-right: .5rem; &:has(+ [type='submit']) {
margin-right: .5rem;
}
} }
} }