aboutsummaryrefslogtreecommitdiff
path: root/PuzzleApplet.java
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2022-10-07 11:15:32 +0100
committerSimon Tatham <anakin@pobox.com>2022-10-07 17:55:06 +0100
commit85d2a7da62a5656974643ce345f0962d2634b04d (patch)
tree569abc8e82295be77153f020c7f07e18b55b424c /PuzzleApplet.java
parente98ede7a727e7a193ffec79f31343de6cb5825a7 (diff)
downloadpuzzles-85d2a7da62a5656974643ce345f0962d2634b04d.zip
puzzles-85d2a7da62a5656974643ce345f0962d2634b04d.tar.gz
puzzles-85d2a7da62a5656974643ce345f0962d2634b04d.tar.bz2
puzzles-85d2a7da62a5656974643ce345f0962d2634b04d.tar.xz
Hide some words in top-level menu items on small viewports
In their normal state, most of the top-level menu items are a verb and an object, like "Undo move". This is admirably clear, but on a small screen the menu can take a lot of space. In each case the verb alone is sufficient to know what the button does, so use a media query to suppress the noun is the viewport is very narrow. "Very narrow" here is roughly where the menus would overflow onto four lines in my browser.
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions