Do hacks with scale to stop overflowing

This commit is contained in:
2023-11-05 13:15:14 +01:00
parent 548e7d3240
commit e458c69c80

View File

@ -19,6 +19,16 @@ body {
font-size: x-large; 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 { .info_box {
margin: auto; margin: auto;
max-width: 40em; max-width: 40em;
@ -93,7 +103,8 @@ body {
} }
.bulb_box > * { .bulb_box > * {
margin: 0.5em; margin-bottom: 1em;
margin-right: 1em;
} }
.bulb_controls { .bulb_controls {