Adjust the left-alignment of the sidebar

Bug: T257395
Change-Id: Iae03d45b2d21be7e4635646c57480c0ced770419
This commit is contained in:
Jan Drewniak 2020-09-15 15:54:38 +02:00 committed by VolkerE
parent ec27126c93
commit 5718afbc37
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 {