From fcf7c80daa402aec220fa824b875ebf2f045f5be Mon Sep 17 00:00:00 2001 From: shuaiplus <2327005759@qq.com> Date: Sat, 30 May 2026 02:34:45 +0800 Subject: [PATCH] fix: adjust input padding for improved layout in forms and responsive styles --- webapp/src/styles/forms.css | 5 +++-- webapp/src/styles/responsive.css | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/webapp/src/styles/forms.css b/webapp/src/styles/forms.css index 8857a22..5ca2cf6 100644 --- a/webapp/src/styles/forms.css +++ b/webapp/src/styles/forms.css @@ -11,14 +11,15 @@ } .input { - @apply h-12 w-full rounded-xl border px-3.5 py-2.5 text-base text-ink outline-none transition; + @apply h-12 w-full rounded-xl border px-3.5 py-2.5 text-base leading-normal text-ink outline-none transition; background: var(--panel); border-color: rgba(74, 103, 150, 0.34); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82); } select.input { - @apply pr-[42px]; + @apply py-0 pr-[42px]; + line-height: 1.5; appearance: none; -webkit-appearance: none; -moz-appearance: none; diff --git a/webapp/src/styles/responsive.css b/webapp/src/styles/responsive.css index 114d78a..fa2d0f7 100644 --- a/webapp/src/styles/responsive.css +++ b/webapp/src/styles/responsive.css @@ -898,6 +898,8 @@ } .settings-module select.input { + padding-top: 0; + padding-bottom: 0; padding-right: 30px; background-position: calc(100% - 15px) calc(50% - 3px),