mediawiki-skins-Vector/resources/skins.vector.styles/components/MainMenuDropdown.less
bwang 97de09dcba Refactor page tools, main menu, and TOC components
- getTocData is moved into VectorComponentTableOfContents and it's test file
The following changes were made to the main menu, toc and page tools PHP components
- Avoid passing in $skin to the constructor
- Handle isPinned logic inside the component
- Add a public ID constant to the components
- Dropdown data for each feature use the same naming convention

Bug: T317900
Change-Id: I77a617a6c1d93bccd3b6e59353299f5534624e53
2022-12-15 14:23:25 -08:00

25 lines
443 B
Plaintext

@import '../../common/variables.less';
.vector-main-menu.vector-dropdown {
.vector-main-menu-contents {
width: 250px;
display: flex;
flex-direction: column;
}
.vector-menu-heading,
.vector-main-menu-group {
margin: 0;
}
.vector-menu-content {
margin-left: 0;
}
// The language alert doesn't make sense here as it has never been in a dropdown
// so is hidden.
.vector-main-menu-action-lang-alert {
display: none;
}
}