mirror of
https://github.com/grafana/grafana.git
synced 2025-01-08 23:23:45 -06:00
ux(): added dashboard-padding variable
This commit is contained in:
parent
5e553e40fa
commit
ecc22757b8
@ -215,3 +215,6 @@ $btn-border-radius: 3px;
|
||||
|
||||
// sidemenu
|
||||
$side-menu-width: 14rem;
|
||||
|
||||
// dashboard
|
||||
$dashboard-padding: $spacer / 2;
|
||||
|
@ -1,7 +1,8 @@
|
||||
.tabbed-view {
|
||||
background-color: $page-bg;
|
||||
background-image: linear-gradient(60deg, transparent 70%, darken($page-bg, 4%) 98%);
|
||||
margin: -($spacer/2) 0 $spacer*2 0;
|
||||
margin: -$dashboard-padding;
|
||||
margin-bottom: $spacer*2;
|
||||
padding: $spacer*2;
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
}
|
||||
|
||||
.dashboard-container {
|
||||
padding: $spacer / 2;
|
||||
padding: $dashboard-padding;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user