Place field labels in document flow above the inputs.
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
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:
@@ -188,16 +188,16 @@
|
|||||||
|
|
||||||
.field {
|
.field {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: flex;
|
||||||
padding-top: 1.6rem;
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.field-label {
|
.field-label {
|
||||||
position: absolute;
|
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
top: 0;
|
margin-left: 4px;
|
||||||
left: 12px;
|
padding: 0 4px;
|
||||||
padding: 0;
|
|
||||||
background: var(--label-bg);
|
background: var(--label-bg);
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
@@ -240,11 +240,11 @@
|
|||||||
|
|
||||||
.combobox-caret {
|
.combobox-caret {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 1.6rem;
|
|
||||||
right: 12px;
|
right: 12px;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
height: 54px;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user