fix: adjust input padding for improved layout in forms and responsive styles

This commit is contained in:
shuaiplus
2026-05-30 02:34:45 +08:00
parent ed9251c014
commit fcf7c80daa
2 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -11,14 +11,15 @@
} }
.input { .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); background: var(--panel);
border-color: rgba(74, 103, 150, 0.34); border-color: rgba(74, 103, 150, 0.34);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
} }
select.input { select.input {
@apply pr-[42px]; @apply py-0 pr-[42px];
line-height: 1.5;
appearance: none; appearance: none;
-webkit-appearance: none; -webkit-appearance: none;
-moz-appearance: none; -moz-appearance: none;
+2
View File
@@ -898,6 +898,8 @@
} }
.settings-module select.input { .settings-module select.input {
padding-top: 0;
padding-bottom: 0;
padding-right: 30px; padding-right: 30px;
background-position: background-position:
calc(100% - 15px) calc(50% - 3px), calc(100% - 15px) calc(50% - 3px),