Skip to content

Commit

Permalink
Style adjustments to input fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
frjo committed Nov 21, 2023
1 parent e42f722 commit cc408bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion assets/sass/_zen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ article {

.search-text {
font-size: var(--fs-l);
max-width: 80%;
}

// Form
Expand Down
10 changes: 6 additions & 4 deletions assets/sass/base/forms/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

0 comments on commit cc408bc

Please sign in to comment.