Merge "Adjust the left-alignment of the sidebar"

This commit is contained in:
jenkins-bot 2020-10-05 18:39:00 +00:00 committed by Gerrit Code Review
commit f7e1940855
2 changed files with 5 additions and 1 deletions

View file

@ -21,7 +21,7 @@
min-height: @size-sidebar-button;
width: @size-sidebar-button;
height: @size-sidebar-button;
border: 1px solid transparent;
border: @border-width-base @border-style-base transparent;
border-radius: @border-radius-base;
&:before {

View file

@ -94,6 +94,10 @@
// we apply top and bottom padding.
padding-top: 8px;
padding-bottom: 40px;
// Adjust the left position of the sidebar to align it with the sidebar menu button,
// in the header, while ensuring the background gradient still extends to the edge of the screen.
// note: the 1px comes from the transparent border of the sidebar button
padding-left: @margin-horizontal-sidebar-button-icon + @border-width-base;
}
.mw-footer {