fix: prevent left-side clipping on large boards

Replace flex centering on scroll container with margin auto on the
board element so overflowing boards remain fully scrollable.
This commit is contained in:
tiennm99 committed 2026-04-12 09:47:09 +07:00
1 parent d46ccb6d50
commit 4d69ef979d
2 files changed
+1 -2

No files matched your search

+1
View File
@@ -96,6 +96,7 @@
border-radius: var(--radius);
overflow: hidden;
background: var(--bg-deep);
margin: 0 auto;
}
.floor,
-2
View File
@@ -196,8 +196,6 @@
}
.board-wrap {
display: flex;
justify-content: center;
width: 100%;
overflow: auto;
max-height: calc(100vh - 140px);