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

View File

@ -97,20 +97,15 @@
& > .controls { & > .controls {
z-index: 3; z-index: 3;
> * { padding-left: @gutter;
margin-left: @gutter !important; padding-right: @gutter;
margin-right: @gutter !important;
}
> ul { > .tabs {
margin-left: 0 !important; // Remove gutter for tabs
margin-right: 0 !important; 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
} }
} }