mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 01:20:07 +00:00
Clean up cached .vector-menu-portal code
Follow up to I884cd33938b2670bddc90f698d8f61f37c6c29d4 Change-Id: Icd329aa4a43aa738b0127f7147b5401e07d90c05
This commit is contained in:
parent
1323b82aa3
commit
f006e00677
|
@ -1,6 +1,6 @@
|
|||
{{! `heading` is optional. }}
|
||||
<div class="vector-main-menu-action vector-main-menu-action-{{action}}">
|
||||
<div class="vector-main-menu-action-item vector-menu-portal">
|
||||
<div class="vector-main-menu-action-item">
|
||||
{{#heading}}<div class="vector-main-menu-action-heading vector-menu-heading">{{.}}</div>{{/heading}}
|
||||
<div class="vector-main-menu-action-content vector-menu-content">
|
||||
{{{html-content}}}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{!
|
||||
See @typedef MenuDefinition
|
||||
}}
|
||||
<div id="{{id}}" class="vector-main-menu-group vector-menu vector-menu-portal portal{{#class}} {{.}}{{/class}}" {{{html-tooltip}}} {{{html-user-language-attributes}}}>
|
||||
<div id="{{id}}" class="vector-main-menu-group vector-menu{{#class}} {{.}}{{/class}}" {{{html-tooltip}}} {{{html-user-language-attributes}}}>
|
||||
<div
|
||||
id="{{id}}-label"
|
||||
class="vector-menu-heading{{#heading-class}} {{.}}{{/heading-class}}"
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
@import '../../common/variables.less';
|
||||
@import 'mediawiki.mixins.less';
|
||||
|
||||
// FIXME: Remove `.vector-menu-portal` selector when cached HTML not a problem.
|
||||
.vector-legacy-sidebar .vector-menu-portal,
|
||||
.vector-menu-portal {
|
||||
.vector-legacy-sidebar .vector-menu-portal {
|
||||
margin: 0 @margin-end-portal 0 @margin-start-portal;
|
||||
padding: 0.25em 0;
|
||||
direction: ltr;
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
@import '../../common/variables.less';
|
||||
@import 'mediawiki.mixins.less';
|
||||
|
||||
// FIXME: Remove .vector-menu-portal when cache has cleared
|
||||
.vector-menu-portal,
|
||||
.vector-main-menu-group {
|
||||
.vector-main-menu-group,
|
||||
.vector-main-menu-action-item {
|
||||
margin: 0 @margin-end-portal 0 @margin-start-portal;
|
||||
padding: 0.25em 0;
|
||||
direction: ltr;
|
||||
|
|
Loading…
Reference in a new issue