mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 09:30:17 +00:00
Hotfix: Cannot rename emptyPortlet to empty-portlet yet.
Given the regression, we can't make this rename just yet. Restore the old class with the documentation block that should have been there before. We'll deal with this rename later. Bug: T253912 Change-Id: I0672b05bc3eb9564e1943ee8099bafb959dc474d
This commit is contained in:
parent
f3fa7d3298
commit
56f7520120
|
@ -2,9 +2,14 @@
|
|||
@import 'mediawiki.mixins.less';
|
||||
|
||||
/* Hide empty portlets */
|
||||
// FIXME: Remove when cache cleared.
|
||||
.emptyPortlet,
|
||||
.vector-menu-empty {
|
||||
// This class has special magical powers. It can be removed by
|
||||
// mw.util.addPortletLink
|
||||
// in core:resources/src/mediawiki.util/util.js
|
||||
// When I93fb6c96df9f238d1c0281cb66512b135ca2afc2 has been merged
|
||||
// and is deployed this line of CSS should be removed or replaced
|
||||
// with the class ".vector-menu-empty"
|
||||
// See T253912.
|
||||
.emptyPortlet {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue