feat(board): add SSR-compatible static grid for view mode

Split board rendering into two modes: a static CSS Grid for view mode
(SSR-friendly, no JS required for layout) and a lazy-loaded GridStack
for edit mode. This eliminates widget "pop-in" on page load by rendering
the full grid layout server-side.
This commit is contained in:
Thomas Camlong committed 2026-05-22 11:37:25 +02:00
1 parent e14da6f747
commit 121cff20d7
5 files changed
+329 -65

No files matched your search

+14
View File
@@ -112,3 +112,17 @@
.grid-stack-empty-wrapper {
display: none !important;
}
.static-grid-container {
container-type: inline-size;
}
.static-grid-item-content {
position: absolute;
inset: 10px;
> .grid-stack-item-content {
width: 100%;
height: 100%;
}
}