mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 23:55:53 +00:00
Merge "Scope right-aligned dropdown menus to #right-navigation & .mw-portlet-lang"
This commit is contained in:
commit
5820fa0b18
|
@ -53,7 +53,7 @@
|
|||
min-width: 100%;
|
||||
position: absolute;
|
||||
top: 2.5em;
|
||||
right: -@border-width-base;
|
||||
left: -@border-width-base;
|
||||
margin: 0;
|
||||
border: @border-width-base @border-style-base @border-color-base;
|
||||
border-top-width: 0;
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
|
||||
.vector-menu-content {
|
||||
top: auto;
|
||||
right: 0;
|
||||
left: auto;
|
||||
right: -@border-width-base;
|
||||
// align borders of open menu align with button
|
||||
.box-sizing( border-box );
|
||||
max-height: 65vh;
|
||||
|
|
|
@ -239,6 +239,13 @@ body {
|
|||
|
||||
#right-navigation {
|
||||
float: right;
|
||||
|
||||
// Any dropdowns inside the right navigation in modern Vector (e.g. "more" menu).
|
||||
// should be right-aligned to prevent horizontal scrolling.
|
||||
.vector-menu-content {
|
||||
left: auto;
|
||||
right: -@border-width-base;
|
||||
}
|
||||
}
|
||||
|
||||
#p-personal {
|
||||
|
|
Loading…
Reference in a new issue