diff --git a/ui/src/components/chart/ChartCard.vue b/ui/src/components/chart/ChartCard.vue index fc1f42527a8..9e9ad4915b8 100644 --- a/ui/src/components/chart/ChartCard.vue +++ b/ui/src/components/chart/ChartCard.vue @@ -92,13 +92,14 @@ export default { } .chart-card-content { + margin-top: -42px; margin-bottom: 12px; position: relative; - height: 46px; + height: 100%; width: 100%; .content-fix { - position: absolute; + position: relative; left: 0; bottom: 0; width: 100%; diff --git a/ui/src/style/component/dashboard.less b/ui/src/style/component/dashboard.less index 45e01badfbb..0d821068547 100644 --- a/ui/src/style/component/dashboard.less +++ b/ui/src/style/component/dashboard.less @@ -11,7 +11,6 @@ &__select { width: 100%; - padding: 0 12px; .mobile & { margin-bottom: 12px; @@ -20,7 +19,6 @@ &__button { width: auto; - padding: 0 12px; } &__tile-wrapper:after { @@ -31,6 +29,5 @@ &__alert-wrapper { clear: both; - padding: 0 12px; } } diff --git a/ui/src/views/dashboard/CapacityDashboard.vue b/ui/src/views/dashboard/CapacityDashboard.vue index 1aac3c220b8..1d15126626d 100644 --- a/ui/src/views/dashboard/CapacityDashboard.vue +++ b/ui/src/views/dashboard/CapacityDashboard.vue @@ -1,7 +1,7 @@