diff --git a/frontend/static/styles/common.scss b/frontend/static/styles/common.scss index aad5ab1..51e4cd0 100644 --- a/frontend/static/styles/common.scss +++ b/frontend/static/styles/common.scss @@ -19,6 +19,16 @@ body { font-size: x-large; } +/* filthy hacks to make the page stop overflowing on mobile */ +@media (width <= 430px) { + body { + margin: 0; + transform-origin: top left; + scale: 0.9; + } +} +@media (width <= 390px) { body { scale: 0.85; } } + .info_box { margin: auto; max-width: 40em; @@ -93,7 +103,8 @@ body { } .bulb_box > * { - margin: 0.5em; + margin-bottom: 1em; + margin-right: 1em; } .bulb_controls {