feat(FN-001): complete Step 2 — mobile board CSS fix\n\n- Change scroll-snap-type from mandatory to proximity\n- Add overflow-anchor: none\n- Add width: 100% to mobile .board and .list-view\n- Update board-mobile.test.tsx scroll-snap assertion

This commit is contained in:
Fusion
2026-05-12 21:27:52 +08:00
committed by Berlin Luk
parent e1dc7e2da3
commit 39e1d9e496
3 changed files with 6 additions and 3 deletions

View File

@@ -3250,7 +3250,8 @@ input[type="range"]:focus-visible {
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
scroll-snap-type: x mandatory;
scroll-snap-type: x proximity;
overflow-anchor: none;
scroll-padding-inline: calc(50% - 150px);
scroll-behavior: smooth;
scrollbar-width: none;
@@ -3258,6 +3259,7 @@ input[type="range"]:focus-visible {
padding-bottom: var(--space-md);
gap: var(--space-md);
height: 100%;
width: 100%;
}
.board::-webkit-scrollbar {