style(ui): presets patterns and layout tweaks
Made-with: Cursor
This commit is contained in:
@@ -1253,24 +1253,32 @@ body.preset-ui-run .edit-mode-only {
|
||||
}
|
||||
|
||||
/* Preset editor: brightness/delay field wrappers */
|
||||
.preset-editor-field {
|
||||
#preset-editor-modal .preset-editor-field {
|
||||
flex: 1;
|
||||
min-width: 10rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.preset-editor-field label {
|
||||
#preset-editor-modal .preset-editor-field label {
|
||||
align-self: stretch;
|
||||
}
|
||||
|
||||
.preset-editor-field input[type="number"] {
|
||||
width: var(--n-input-width, 5ch);
|
||||
max-width: 100%;
|
||||
#preset-editor-modal .preset-editor-field input[type="number"] {
|
||||
width: 100%;
|
||||
min-width: 5.5rem;
|
||||
max-width: 7rem;
|
||||
box-sizing: border-box;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Preset editor n-parameter inputs need extra room for values + spinner controls. */
|
||||
#preset-editor-modal .n-input {
|
||||
width: 6.5ch;
|
||||
min-width: 5.5rem;
|
||||
}
|
||||
|
||||
/* Pattern editor: numeric metadata row */
|
||||
#pattern-editor-modal input[type="number"] {
|
||||
width: var(--n-input-width, 5ch);
|
||||
|
||||
Reference in New Issue
Block a user