diff options
Diffstat (limited to 'src/components/Global/PageTitle.vue')
-rw-r--r-- | src/components/Global/PageTitle.vue | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/components/Global/PageTitle.vue b/src/components/Global/PageTitle.vue index 12dde551..20bc8050 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; |