From 1cef25c52939c8d24e4146056b718e688df583ae Mon Sep 17 00:00:00 2001
From: Maksim Zakharov <m.zakharov@IBS.RU>
Date: Mon, 25 Jul 2022 15:48:35 +0300
Subject: fix padding

---
 .../Motherboard/Dynamic/MotherboardDynamicPage.vue | 88 +++++++++++-----------
 1 file changed, 45 insertions(+), 43 deletions(-)

(limited to 'src/views/_sila/Motherboard/Dynamic/MotherboardDynamicPage.vue')

diff --git a/src/views/_sila/Motherboard/Dynamic/MotherboardDynamicPage.vue b/src/views/_sila/Motherboard/Dynamic/MotherboardDynamicPage.vue
index 9f4e46a0..343988f1 100644
--- a/src/views/_sila/Motherboard/Dynamic/MotherboardDynamicPage.vue
+++ b/src/views/_sila/Motherboard/Dynamic/MotherboardDynamicPage.vue
@@ -15,7 +15,7 @@
         {{ $t('pageMotherboard.temperature') }}
       </b-button>
       <b-row class="align-items-end p-2">
-        <b-col xs="12" md="3" class="pt-2">
+        <b-col xs="12" md="3" class="pt-4">
           <b-form-group :label="$t('pageMotherboard.labels.warning')">
             <b-form-input
               v-model="temperatureWarningInput"
@@ -31,48 +31,50 @@
           </b-button>
         </b-col>
       </b-row>
-      <chart
-        type="motherboard"
-        :colors="colors"
-        :data="filteredSensors"
-        :warning="temperatureWarning"
-        :non-normal="temperatureNonNormal"
-        :critical-start="temperatureCriticalStart"
-      ></chart>
-      <b-table
-        v-if="items && items.length > 0"
-        responsive="md"
-        show-empty
-        table-variant="accessory"
-        hover
-        :items="items"
-        :fields="fields"
-        :empty-text="$t('global.table.emptyMessage')"
-      >
-        <template #cell(name)="{ value, index }">
-          <div
-            class="item-color"
-            :style="`background-color: ${colors[index]}`"
-          ></div>
-          {{ value }}
-        </template>
-        <template #cell(minDate)="{ value }">
-          <span style="color: rgb(12, 28, 41)">
-            {{ value.time }}
-          </span>
-          <span>
-            {{ value.date }}
-          </span>
-        </template>
-        <template #cell(maxDate)="{ value }">
-          <span style="color: rgb(12, 28, 41)">
-            {{ value.time }}
-          </span>
-          <span>
-            {{ value.date }}
-          </span>
-        </template>
-      </b-table>
+      <b-col class="pl-4 pr-4">
+        <chart
+          type="motherboard"
+          :colors="colors"
+          :data="filteredSensors"
+          :warning="temperatureWarning"
+          :non-normal="temperatureNonNormal"
+          :critical-start="temperatureCriticalStart"
+        ></chart>
+        <b-table
+          v-if="items && items.length > 0"
+          responsive="md"
+          show-empty
+          table-variant="accessory"
+          hover
+          :items="items"
+          :fields="fields"
+          :empty-text="$t('global.table.emptyMessage')"
+        >
+          <template #cell(name)="{ value, index }">
+            <div
+              class="item-color"
+              :style="`background-color: ${colors[index]}`"
+            ></div>
+            {{ value }}
+          </template>
+          <template #cell(minDate)="{ value }">
+            <span style="color: rgb(12, 28, 41)">
+              {{ value.time }}
+            </span>
+            <span>
+              {{ value.date }}
+            </span>
+          </template>
+          <template #cell(maxDate)="{ value }">
+            <span style="color: rgb(12, 28, 41)">
+              {{ value.time }}
+            </span>
+            <span>
+              {{ value.date }}
+            </span>
+          </template>
+        </b-table>
+      </b-col>
     </div>
   </b-container>
 </template>
-- 
cgit v1.2.3

