Change the scope of '.dashboard-graph-body' CSS class to prevent it from affecting other places.

This commit is contained in:
Murtuza Zabuawala 2020-08-05 12:30:09 +05:30 committed by Akshay Joshi
parent 5ce2773658
commit d2621282dc

View File

@ -46,32 +46,32 @@
} }
} }
} }
}
.dashboard-graph-body { & .dashboard-graph-body {
padding: 0.25rem 0.5rem;
height: 175px;
& .flotr-labels {
color: $color-fg !important;
}
& .flotr-legend {
border: none !important;
padding: 0.25rem 0.5rem; padding: 0.25rem 0.5rem;
& .flotr-legend-label { height: 175px;
& .flotr-labels {
color: $color-fg !important; color: $color-fg !important;
padding-left: 0.25rem;
} }
& .flotr-legend {
& .flotr-legend-color-box>div {
border: none !important; border: none !important;
&>div { padding: 0.25rem 0.5rem;
border: none !important; & .flotr-legend-label {
color: $color-fg !important;
padding-left: 0.25rem;
} }
}
& .flotr-legend-bg { & .flotr-legend-color-box>div {
border-radius: $border-radius; border: none !important;
&>div {
border: none !important;
}
}
& .flotr-legend-bg {
border-radius: $border-radius;
}
} }
} }
} }