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:
Johannes Meyer 2018-04-03 15:10:26 +02:00 committed by GitHub
commit acbb2659bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -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 {