Sit field labels just above the boxes, clear of the border.
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-08-15 08:02:27 +00:00
parent 653d569149
commit 97130034dd

View File

@@ -189,14 +189,14 @@
.field { .field {
position: relative; position: relative;
display: block; display: block;
padding-top: 8px; padding-top: 1.25rem;
} }
.field-label { .field-label {
position: absolute; position: absolute;
z-index: 1; z-index: 1;
top: 0; top: 0;
left: 11px; left: 12px;
padding: 0 4px; padding: 0 4px;
background: var(--label-bg); background: var(--label-bg);
color: var(--primary); color: var(--primary);
@@ -208,7 +208,7 @@
select, input { select, input {
width: 100%; width: 100%;
min-height: 54px; min-height: 54px;
padding: 16px 12px 6px; padding: 16px 12px;
border: 1px solid var(--border-strong); border: 1px solid var(--border-strong);
border-radius: var(--radius-sm); border-radius: var(--radius-sm);
outline: none; outline: none;
@@ -240,7 +240,7 @@
.combobox-caret { .combobox-caret {
position: absolute; position: absolute;
top: 0; top: 1.25rem;
right: 12px; right: 12px;
bottom: 0; bottom: 0;
display: flex; display: flex;