simon-git: puzzles (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Fri Oct 7 18:39:51 BST 2022


TL;DR:
  85d2a7d Hide some words in top-level menu items on small viewports

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2022-10-07 18:39:51

commit 85d2a7da62a5656974643ce345f0962d2634b04d
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=85d2a7da62a5656974643ce345f0962d2634b04d;hp=e98ede7a727e7a193ffec79f31343de6cb5825a7
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Fri Oct 7 11:15:32 2022 +0100

    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.

 html/jspage.pl | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)



More information about the tartarus-commits mailing list