mediawiki-skins-Vector/resources/skins.vector.styles/components/ArticleToolbar.less
Jon Robson a1e5fd5fcc On special page do not show empty more menu to low resolutions
This is a follow up to I34ace0aeb3e23d8f6a8c5a8680bb492f37e343ad
On Special:Userlogin a "more" menu appears that's visible but empty
that should not

 Bug: T306229
Change-Id: I9384b3015de9991db41bde8ccc8f404ac533f198
2022-05-02 20:22:44 +00:00

29 lines
533 B
Plaintext

@import '../../common/variables.less';
.mw-article-toolbar-container {
.mw-portlet-views {
display: none;
@media ( min-width: @width-breakpoint-tablet ) {
&:not( .emptyPortlet ) {
display: block;
}
}
}
.vector-more-collapsible-item {
display: none;
@media ( max-width: @width-breakpoint-tablet ) {
display: block;
}
}
// Make sure pcactions is displayed (even if .emptyPortlet present)
.vector-has-collapsible-items {
@media ( max-width: @width-breakpoint-tablet ) {
display: block;
}
}
}