Merge "Adjust the left-alignment of the sidebar"
This commit is contained in:
commit
f7e1940855
|
@ -21,7 +21,7 @@
|
||||||
min-height: @size-sidebar-button;
|
min-height: @size-sidebar-button;
|
||||||
width: @size-sidebar-button;
|
width: @size-sidebar-button;
|
||||||
height: @size-sidebar-button;
|
height: @size-sidebar-button;
|
||||||
border: 1px solid transparent;
|
border: @border-width-base @border-style-base transparent;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
|
|
|
@ -94,6 +94,10 @@
|
||||||
// we apply top and bottom padding.
|
// we apply top and bottom padding.
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-bottom: 40px;
|
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 {
|
.mw-footer {
|
||||||
|
|
Loading…
Reference in New Issue