Skip to content

Commit

Permalink
Merge pull request #4 from shdq/fix-horizontal-scroll--bug
Browse files Browse the repository at this point in the history
fix: remove horizontal scroll for the field
  • Loading branch information
shdq authored Mar 16, 2024
2 parents f718ce1 + 043f298 commit af2ffd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import styled from "styled-components";
import Field from "./utility/Field";

const Game = styled.div`
max-width: ${props => props.fieldWidth * 42 + "px"};
max-width: ${props => props.fieldWidth * 42 + 2 + "px"};
margin: 0 auto;
`;

Expand Down

0 comments on commit af2ffd8

Please sign in to comment.