Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll Bars Appear on Chessboard #62

Closed
AlexKempen opened this issue Dec 1, 2023 · 1 comment · Fixed by #64
Closed

Scroll Bars Appear on Chessboard #62

AlexKempen opened this issue Dec 1, 2023 · 1 comment · Fixed by #64
Assignees
Labels
D2 Medium Difficulty P2 Medium Priority

Comments

@AlexKempen
Copy link
Contributor

Scroll bars still sometimes appear on the chessboard, likely because it has a weird margin or something which causes it to be oversized relative to its parent div (you can test this by disabling the chessboard). The current hack is to make the parent div (and chessboard) 7 pixels smaller by subtracting 7 in computeChessboardTransform. We should troubleshoot this further so we no longer need that hack.

@AlexKempen AlexKempen added bug P2 Medium Priority D2 Medium Difficulty labels Dec 1, 2023
@AlexKempen
Copy link
Contributor Author

My personal theory is that the chessboard component has some margin or border css property which is causing it to be slightly oversized relative to its width. It's possible providing it some custom styling could resolve the issue (although it looks like the interface for chessboard css is somewhat... limited).

@Kandles11 Kandles11 linked a pull request Dec 1, 2023 that will close this issue
@Kandles11 Kandles11 self-assigned this Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D2 Medium Difficulty P2 Medium Priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants