buttons: Set min-width of button groups and icon buttons
authorPrateek Saxena <prtksxna@gmail.com>
Wed, 24 Sep 2014 22:12:29 +0000 (15:12 -0700)
committerJdlrobson <jrobson@wikimedia.org>
Fri, 26 Sep 2014 00:06:19 +0000 (00:06 +0000)
commit1664f69b0d9aa91eef985500a10917a0acd55d30
tree1b1cc3f28344bb1383952023956e850294f38384
parent343c01d56b8539d0d70d10841c0123b7cce3cd18
buttons: Set min-width of button groups and icon buttons

This was initially changed to 80px in
I8e6beaf12d7cf1f1af20f4ff144eb0a7c2667a47
and then to 70px because 80px was too large for mobile in
I00b44508e7783957a8c24c4890cc1ba4dfe265da

Buttons inside button groups and icon buttons have a requirement
of being narrower than that but not narrower than their height.

When pseudo element css is not supported icons need a min-width

Bug: 71248
Change-Id: Icf45b9c8800067d3e30f23bbda4a6de21b1289d1
resources/src/mediawiki.ui/components/buttons.less
resources/src/mediawiki.ui/components/icons.less