aboutsummaryrefslogtreecommitdiffstats
path: root/resources/src/mediawiki.action.styles/categoryPage.less
Commit message (Collapse)AuthorAgeFilesLines
* mediawiki.mixins: Deprecate `.column-break-after-avoid()`Volker E.2024-06-011-3/+3
| | | | | | | | Use just the CSS rule `break-after: avoid-column;` instead now. Also replacing one occurrence in Wikimedia deployed software of the mixin and align other mixin call to coding guidelines. Change-Id: Ie77f39136ae7320dc37f74930297e0721fcf0c19
* Avoid widowing headers on category pages (in supporting browsers)Bartosz DziewoƄski2022-12-111-0/+4
| | | | | | | | | | | | Avoid placing column breaks immediately following a header by specifying `break-after: avoid-column` for them. Unfortunately, among modern browsers, only Chrome supports this (version 108+). Some obsolete browsers supported it as well. https://caniuse.com/mdn-css_properties_break-after_multicol_context Bug: T104541 Change-Id: I159e7b2a48bb60cda54026b44a482db17d38dfa8
* Prevent Category: entries from overflowingpunit2022-12-071-0/+4
| | | | | | | | Added CSS to prevent very long Category entries from overlapping with entries in adjacent columns. Bug: T319049 Change-Id: If414bb7e8b77e408f3e69d26cce7904a3947b7fc
* mediawiki.action.styles: Bundle in categoryPage.lessTimo Tijhof2022-02-241-0/+22
This tiny stylesheet isn't worth keeping a separate bundle entrypoint for. Document a basic budget for mediawiki.action.styles and move it in there. Given that category pages are cached in the CDN the same way as article pages are, keep the old module around for a week as its cached pages will still be loading that module, and those page did not load the "mediawiki.action.styles" module yet. Another way could have been to first add "mediawiki.action.styles" to CategoryViewer.php, and have that load alongside the old module for a week (without moving any styles). Then the week after, move the styles over and delete the old module. The cached pages will be referencing both and finding the new styles under the new module, and the old module would simply be ignored as no longer existing. Change-Id: If406ce2ae38eb165758add6099b2106794bf225c