05/26 Update form editor

This commit is contained in:
2026-05-26 13:13:28 -04:00
parent 5d6019ea7f
commit a2eb08807f
3 changed files with 53 additions and 21 deletions
+2 -2
View File
@@ -32,7 +32,7 @@
display: grid;
grid-template-columns: repeat(12, 72px);
grid-auto-rows: 52px; /* matches editor CELL_H — keeps proportions tight */
gap: 4px 8px;
gap: 8px;
width: max-content;
}
@@ -42,7 +42,7 @@
Falls back to a safe 100% - padding calculation if JS hasn't run yet. */
@media (max-width: 1194px) {
.form-grid {
--fg-gap: 4px;
--fg-gap: 8px;
--fg-w: calc(100% - 2rem); /* JS overrides this with measured px value */
--fg-cell: calc((var(--fg-w) - 11 * var(--fg-gap)) / 12);
grid-template-columns: repeat(12, var(--fg-cell));