From 6facd12596ec8b55bab4be04b473de65e1f22018 Mon Sep 17 00:00:00 2001
From: Maksim Zakharov <m.zakharov@IBS.RU>
Date: Tue, 24 May 2022 09:43:34 +0300
Subject: Add depend: highcarts. Pages: power, analytical motherboard, memory,
 fans, event logs, Fix styles, add global components.

---
 src/components/Global/PageTitle.vue | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

(limited to 'src/components/Global/PageTitle.vue')

diff --git a/src/components/Global/PageTitle.vue b/src/components/Global/PageTitle.vue
index 12dde5514..20bc8050d 100644
--- a/src/components/Global/PageTitle.vue
+++ b/src/components/Global/PageTitle.vue
@@ -1,7 +1,11 @@
 <template>
-  <div class="page-title">
+  <div v-if="description" class="page-title">
     <h1 class="bold-24px text-title">{{ title }}</h1>
-    <p v-if="description" class="page-description">{{ description }}</p>
+    <p class="page-description">{{ description }}</p>
+  </div>
+  <div v-else class="page-title no_description">
+    <h1 class="bold-24px text-title">{{ title }}</h1>
+    <p class="page-description">{{ description }}</p>
   </div>
 </template>
 
@@ -29,6 +33,9 @@ export default {
   flex-flow: column nowrap;
   align-items: flex-start;
   justify-content: center;
+  &.no_description {
+    height: 64px;
+  }
 }
 
 .text-title {
@@ -37,7 +44,7 @@ export default {
 
 .page-description {
   color: $text-secondary;
-  font-family: Inter;
+  font-family: 'Inter', sans-serif;
   font-size: 12px;
   font-weight: 400;
   line-height: 16px;
-- 
cgit v1.2.3

