simon-git: putty-website (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sat Nov 21 15:23:52 GMT 2015


TL;DR:
  5b1a13e Stop using <table> for the wishlist search box.
  13ead99 Stop using <table> on the Download page.
  39a49fc Stop using <pre> in the 'git clone' command.

Repository:     git://git.tartarus.org/simon/putty-website.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=putty-website.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2015-11-21 15:23:52

commit 5b1a13ecea2aad4a5b0b4eefe3fde275116b75d9
web diff http://tartarus.org/~simon-git/gitweb/?p=putty-website.git;a=commitdiff;h=5b1a13ecea2aad4a5b0b4eefe3fde275116b75d9;hp=cd00809f0a4ce5bdf266965b1f3f4b8094a7d3fb
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Nov 21 09:26:24 2015 +0000

    Stop using <table> for the wishlist search box.
    
    Instead, I've put the Google logo and the search box in a pair of
    adjacent <span style="inline-block">, which still puts them next to
    each other as before in a nice wide browser window, but in a narrower
    window they now switch to appearing one above the other.
    
    While I'm at it, the edit box also uses a max-width property to
    arrange that it starts shrinking once it's too wide for the window,
    again to avoid forcing a horizontal scrollbar on users with very
    narrow viewports.

 components/wishlist.mc |   10 +++++-----
 static/sitestyle.css   |    4 ++++
 2 files changed, 9 insertions(+), 5 deletions(-)

commit 13ead9959e365a2a1d4b34696ed8fdcf587b1552
web diff http://tartarus.org/~simon-git/gitweb/?p=putty-website.git;a=commitdiff;h=13ead9959e365a2a1d4b34696ed8fdcf587b1552;hp=5b1a13ecea2aad4a5b0b4eefe3fde275116b75d9
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Nov 21 09:52:35 2015 +0000

    Stop using <table> on the Download page.
    
    The download tables were widening narrow viewports, and also they've
    always been annoyingly inconsistent between the binary and source
    sections (since you can't get two tables half the page apart to have a
    common set of column widths).
    
    Switched to using inline-block again, with manually set column widths
    in ems. The result is still rather ugly at narrow window sizes, but at
    least it's _wrapping_ and ugly, rather than unwrappable. And I've
    tried to mitigate the most serious uglinesses by adding some judicious
    <wbr> in long words.

 components/download-binary.mi |  210 +++++++++++++++++++++++------------------
 components/download-source.mi |   23 +++--
 components/download-winsrc.mi |   22 +++--
 components/download.mc        |    4 -
 static/sitestyle.css          |   11 +++
 5 files changed, 153 insertions(+), 117 deletions(-)

commit 39a49fc8aa77516f515ceda7cc48f84223f84497
web diff http://tartarus.org/~simon-git/gitweb/?p=putty-website.git;a=commitdiff;h=39a49fc8aa77516f515ceda7cc48f84223f84497;hp=13ead9959e365a2a1d4b34696ed8fdcf587b1552
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Nov 21 15:21:57 2015 +0000

    Stop using <pre> in the 'git clone' command.
    
    Because it inhibits line breaking completely, that's another thing
    that widens the page on narrow viewports.

 components/download.mc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the tartarus-commits mailing list