Fix hiding of empty portlets on special pages
* Increased selector specificy so that .emptyPortlet works on portlets within #mw-page-header-links * Moved the `ca-more` dropdown, only shown on mobile, into a new portlet so that `p-views` is really empty on Special pages, and has class .emptyPortlet * Moved languages dropdown, also only shown on mobile, into the new portlet too. This way on special pages the two dropdowns are in a single <ul> list with two items, rather than two adjacent list each with one item. Also, grouping the mobile-only items together means the desktop CSS only has to hide the portlet, rather than the individual ietms. Bug: T182533 Change-Id: I496af1805d200e1fd67b1232e1b3b029b08b82caisekai
parent
2e041b0509
commit
b03a2a970f
Loading…
Reference in New Issue