Skip to content

Commit

Permalink
chore(mobile): only allow y-axis scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
SelmaBergstrand committed Jan 10, 2025
1 parent 9ff7f1f commit 44e80f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tavla/src/Board/scenarios/Board/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function Board({ board, style }: { board: TBoard; style?: CSSProperties }) {

return (
<div
className={`max-sm:overflow-scroll grid grid-cols-auto-fit-minmax gap-2.5 h-full overflow-hidden supports-[not(display:grid)]:flex supports-[not(display:grid)]:*:m-2.5 ${getFontScale(
className={`max-sm:overflow-y-scroll grid grid-cols-auto-fit-minmax gap-2.5 h-full overflow-hidden supports-[not(display:grid)]:flex supports-[not(display:grid)]:*:m-2.5 ${getFontScale(
board.meta?.fontSize || defaultFontSize(board),
)} `}
style={{
Expand Down

0 comments on commit 44e80f4

Please sign in to comment.