From cc408bcc330b3a434d3befef2fb921505fb8bf6f Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Tue, 21 Nov 2023 12:09:59 +0100 Subject: [PATCH] Style adjustments to input fields. --- assets/sass/_zen.scss | 1 - assets/sass/base/forms/_forms.scss | 10 ++++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/assets/sass/_zen.scss b/assets/sass/_zen.scss index fd4ee93..3d086a4 100644 --- a/assets/sass/_zen.scss +++ b/assets/sass/_zen.scss @@ -132,7 +132,6 @@ article { .search-text { font-size: var(--fs-l); - max-width: 80%; } // Form diff --git a/assets/sass/base/forms/_forms.scss b/assets/sass/base/forms/_forms.scss index 72a60fd..4a90441 100644 --- a/assets/sass/base/forms/_forms.scss +++ b/assets/sass/base/forms/_forms.scss @@ -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; + } } }