mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
Merge "[modern][styles] Remove unnecessary margin-top
"
This commit is contained in:
commit
9ccd8e2c23
|
@ -120,18 +120,17 @@ body {
|
|||
}
|
||||
|
||||
#mw-panel {
|
||||
background-image: linear-gradient( to bottom, @background-color-base 0%, @background-color-secondary--modern 10%, @background-color-secondary--modern 90%, @background-color-base 100% );
|
||||
position: absolute;
|
||||
// Sidebar is displaced from the workspace container so that the
|
||||
// sidebar is flush with the edge of the screen at small widths.
|
||||
left: -@padding-horizontal-page-container;
|
||||
width: @width-grid-column-one;
|
||||
.box-sizing( border-box );
|
||||
margin-top: 0;
|
||||
// To avoid the white part of the gradient colliding with the sidebar links
|
||||
// we apply top and bottom padding.
|
||||
padding: 8px 0 40px @padding-left-sidebar;
|
||||
z-index: @z-index-sidebar;
|
||||
background-image: linear-gradient( to bottom, @background-color-base 0%, @background-color-secondary--modern 10%, @background-color-secondary--modern 90%, @background-color-base 100% );
|
||||
}
|
||||
|
||||
.parsoid-body {
|
||||
|
|
Loading…
Reference in a new issue