CSS: Avoid !important for gutter in .controls

fixes #11143
This commit is contained in:
Eric Lippmann 2016-02-22 09:26:53 +01:00
parent f9a10bc345
commit 17d0f7be5e
1 changed files with 6 additions and 11 deletions

View File

@ -97,20 +97,15 @@
& > .controls {
z-index: 3;
> * {
margin-left: @gutter !important;
margin-right: @gutter !important;
}
padding-left: @gutter;
padding-right: @gutter;
> ul {
margin-left: 0 !important;
margin-right: 0 !important;
> .tabs {
// Remove gutter for tabs
margin-left: -1 * @gutter;
margin-right: -1 * @gutter;
}
}
// 1em gutter of containers is maintained by padding of content and margin of every element in controls. We're not
// setting padding to .container because else horizontally scrolled .content may overflow .controls when scrolled
// vertically
}
}