Merge "Update styles for user-interface-preferences in user links menu."

This commit is contained in:
jenkins-bot 2021-06-05 02:26:39 +00:00 committed by Gerrit Code Review
commit fcb1bf7a19
2 changed files with 25 additions and 0 deletions

View file

@ -1,4 +1,5 @@
<div class="vector-user-links">
{{#data-user-interface-preferences}}{{>Menu}}{{/data-user-interface-preferences}}
{{#is-anon}}
<div id="p-createaccount" class="vector-user-links-createaccount">
{{#data-userlinks}}{{{html-create-account}}}{{/data-userlinks}}

View file

@ -115,4 +115,28 @@
.vector-user-links-createaccount {
margin-left: 0.75em;
}
// Adjust the user-interface-preferences menu.
.mw-portlet-user-interface-preferences {
margin-top: -0.2em;
margin-right: 0;
padding: 0;
// Hide the heading of the user-interface-preferences menu.
h3 {
display: none;
}
li {
font-size: 0.75em;
a {
padding-left: 2em;
}
}
ul.vector-menu-content-list {
padding-top: 0;
}
}
}