We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
The text was updated successfully, but these errors were encountered:
https://www.sitepoint.com/javascript-media-queries/ reset global variable using if statement attached to window size
Sorry, something went wrong.
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: