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

Set tile size larger than 30px for tablet and desktop using media queries. #15

Open
hollywilkalis opened this issue Dec 20, 2017 · 1 comment

Comments

@hollywilkalis
Copy link
Collaborator

var TILE_WIDTH_PX = 50; (in scripts)
@media #{$medium}{
var TILE_WIDTH_PX = 80;
}
@media #{$large}{
var TILE_WIDTH_PX = 100;
}

adjust margin and padding in _game.scss and _user-controls.css if needed after board size generally increases.

@sailor27
Copy link
Collaborator

https://www.sitepoint.com/javascript-media-queries/
reset global variable using if statement attached to window size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants