Fix category column count regression
authorMormegil <mormegil@centrum.cz>
Fri, 24 Apr 2015 14:51:30 +0000 (16:51 +0200)
committerMormegil <mormegil@centrum.cz>
Fri, 24 Apr 2015 15:11:54 +0000 (17:11 +0200)
commit7a4cce3fde69512ae17877b20afd464b64ffd3e3
treee0a9987b9536d2aa0b5f391d9bfbd11e17a6f9fe
parent9e18610457ce599db51d3b14af83c31053ea0ace
Fix category column count regression

T55130 redesigned category view to use dynamic CSS-based columns
instead of the old fixed 3-column layout. The design was updated
in I20b68dea8f, setting the column width to 25em.

However, on 1280px screen, this reduces the layout to just 2 columns,
as 3 columns do not fit: With the default 14px font, 25em translates
to 350px of column width, plus 1em of column-gap, therefore, 1078px
of space would be required for three columns. However, a 1280px
screen seems to have only 1038px left for content, so 40px are
missing.

By reducing the column size slightly to 24em, three columns are back.

Bug: T55130
Change-Id: I2dbecf809c54d786579bdf3826efbf85ad822c7c
resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less