mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-16 08:16:46 -05:00
Form system refactor from react-hook-form to one schema per form across the stack (#2735)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
40
app/form/fields/ArrayFormField.module.css
Normal file
40
app/form/fields/ArrayFormField.module.css
Normal file
@@ -0,0 +1,40 @@
|
||||
.card {
|
||||
border: var(--border-style);
|
||||
border-radius: var(--rounded-xs);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--s-2);
|
||||
padding: var(--s-2) var(--s-3);
|
||||
background-color: var(--bg-lighter);
|
||||
border-bottom: var(--border-style);
|
||||
border-radius: var(--rounded-xs) var(--rounded-xs) 0 0;
|
||||
}
|
||||
|
||||
.dragHandle {
|
||||
width: var(--s-5);
|
||||
height: var(--s-5);
|
||||
cursor: grab;
|
||||
color: var(--text-lighter);
|
||||
}
|
||||
|
||||
.headerLabel {
|
||||
flex: 1;
|
||||
font-size: var(--fonts-xs);
|
||||
font-weight: var(--semi-bold);
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: var(--s-4);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--s-4);
|
||||
}
|
||||
|
||||
.itemInput {
|
||||
flex: 1;
|
||||
}
|
||||
Reference in New Issue
Block a user