mirror of
https://github.com/dmuth/diceware.git
synced 2024-11-21 16:36:28 -05:00
I should start using media queries in CSS
This commit is contained in:
parent
84d77e3901
commit
729787fe8a
1 changed files with 2 additions and 0 deletions
2
main.js
2
main.js
|
@ -224,6 +224,8 @@ jQuery("#roll_dice").on("click", function(e) {
|
||||||
//
|
//
|
||||||
// Clear out more space when mobile
|
// Clear out more space when mobile
|
||||||
//
|
//
|
||||||
|
// In the future, I should just use a media query in CSS
|
||||||
|
//
|
||||||
var target_height = 300;
|
var target_height = 300;
|
||||||
if (is_mobile()) {
|
if (is_mobile()) {
|
||||||
target_height = 400;
|
target_height = 400;
|
||||||
|
|
Loading…
Reference in a new issue