five-on-it / apps/client/src/ui/minimap-size
apps/client/src/ui/minimap-size
The minimap's size, one rule for everything laid out around it: min(260px, 28vw, 30dvh) times the settings' Minimap size. The overlay's stylesheet sizes the minimap with it (--ui-minimap: overlay.css writes the rule, renderer/main.ts sets it with the player's scale), and the in-game UI's theme stands the phone above it (gui/theme.ts). minimap-size.test.ts holds the stylesheet's own default to this rule.