mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 21:02:29 +08:00
brought back dashboard-padding and panel-padding variables, made dashboard-padding more specific
This commit is contained in:
@ -195,6 +195,10 @@ $btn-semi-transparent: rgba(0, 0, 0, 0.2) !default;
|
||||
// sidemenu
|
||||
$side-menu-width: 60px;
|
||||
|
||||
// dashboard
|
||||
$dashboard-padding: $space-md $space-md 0 $space-md;
|
||||
$panel-padding: 0 $space-md $space-sm $space-md;
|
||||
|
||||
// tabs
|
||||
$tabs-padding: 10px 15px 9px;
|
||||
|
||||
|
@ -198,6 +198,10 @@ $btn-semi-transparent: rgba(0, 0, 0, 0.2) !default;
|
||||
// sidemenu
|
||||
$side-menu-width: 60px;
|
||||
|
||||
// dashboard
|
||||
$dashboard-padding: $space-md $space-md 0 $space-md;
|
||||
$panel-padding: 0 $space-md $space-sm $space-md;
|
||||
|
||||
// tabs
|
||||
$tabs-padding: 10px 15px 9px;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
.dashboard-container {
|
||||
padding: $space-md $space-md 0 $space-md;
|
||||
padding: $dashboard-padding;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
@ -78,7 +78,7 @@ div.flot-text {
|
||||
}
|
||||
|
||||
.panel-content {
|
||||
padding: 0 $space-md $space-sm $space-md;
|
||||
padding: $panel-padding;
|
||||
height: calc(100% - 27px);
|
||||
position: relative;
|
||||
|
||||
|
@ -156,7 +156,7 @@
|
||||
}
|
||||
|
||||
.explore-container {
|
||||
padding: $space-md;
|
||||
padding: $dashboard-padding;
|
||||
}
|
||||
|
||||
.explore-wrapper {
|
||||
@ -172,7 +172,7 @@
|
||||
}
|
||||
|
||||
.explore-panel__body {
|
||||
padding: 0 $space-md $space-sm $space-md;
|
||||
padding: $panel-padding;
|
||||
}
|
||||
|
||||
.explore-panel__header {
|
||||
|
Reference in New Issue
Block a user