layout.less: Relax specificity of content and controls padding
This commit is contained in:
parent
e1c47a8f59
commit
168fcfec36
|
@ -110,13 +110,9 @@
|
|||
& > .content {
|
||||
flex: 1 1 auto;
|
||||
overflow: auto;
|
||||
padding: @gutter;
|
||||
}
|
||||
|
||||
& > .controls {
|
||||
padding-left: @gutter;
|
||||
padding-right: @gutter;
|
||||
|
||||
> .tabs {
|
||||
// Remove gutter for tabs
|
||||
margin-left: -1 * @gutter;
|
||||
|
@ -131,6 +127,18 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Not part of the above to relax specificity and to allow modules adjust this
|
||||
:not(.dashboard) > .container {
|
||||
& > .controls {
|
||||
padding-left: @gutter;
|
||||
padding-right: @gutter;
|
||||
}
|
||||
|
||||
& > .content {
|
||||
padding: @gutter;
|
||||
}
|
||||
}
|
||||
|
||||
// Mobile menu
|
||||
#layout.minimal-layout #sidebar {
|
||||
background-color: @menu-bg-color;
|
||||
|
|
Loading…
Reference in New Issue