Merge pull request #3322 from Icinga/bugfix/dashlets-whole-dashboard-3302
Let a dashlet use the whole space if it's the only one
This commit is contained in:
commit
acbb2659bd
|
@ -151,21 +151,21 @@
|
|||
|
||||
// Dashboard
|
||||
|
||||
#layout.default-layout .dashboard > .container {
|
||||
.dashboard > .container {
|
||||
padding-right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#layout:not(.twocols).default-layout .dashboard > .container:not(:only-child) {
|
||||
padding-right: @gutter;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
#layout.wide-layout .dashboard > .container {
|
||||
#layout:not(.twocols).wide-layout .dashboard > .container:not(:only-child) {
|
||||
padding-right: @gutter;
|
||||
width: 33.33%;
|
||||
}
|
||||
|
||||
#layout.twocols .dashboard > .container {
|
||||
padding-right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
// Columns
|
||||
|
||||
#layout #col2 {
|
||||
|
|
Loading…
Reference in New Issue