- navigation bar long title is now allowed

This commit is contained in:
Čarodej
2022-06-01 10:59:59 +02:00
parent 94afb626eb
commit 2e798bd1ec
4 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -910,7 +910,7 @@ return [
'new_team_invitation' => 'New Team Invitation', 'new_team_invitation' => 'New Team Invitation',
'x_invite_to_join_team' => ':name invite you to join into Team Folder.', 'x_invite_to_join_team' => ':name invite you to join into Team Folder.',
'team_invitation_notify_title' => 'You are invited to collaboration with team folder in :app', 'team_invitation_notify_title' => 'You are invited to collaboration with team folder in :app',
'team_invitation_notify_desc' => 'You are invited to collaboration with team folder', 'team_invitation_notify_desc' => 'You are invited to collaboration with team folder.',
'team_invitation_notify_desc_without_account' => 'You are invited to collaboration with team folder. But at first, you have to create an account to proceed into team folder.', 'team_invitation_notify_desc_without_account' => 'You are invited to collaboration with team folder. But at first, you have to create an account to proceed into team folder.',
'join_into_team_folder' => 'Join into Team Folder', 'join_into_team_folder' => 'Join into Team Folder',
'join_and_create_account' => 'Join & Create an Account', 'join_and_create_account' => 'Join & Create an Account',
@@ -1,5 +1,5 @@
<template> <template>
<div @click="goBack" class="relative flex select-none items-center text-left"> <div @click="goBack" class="relative flex select-none items-center text-left min-w-0 lg:pr-6 pr-12">
<!--Menu icon--> <!--Menu icon-->
<div <div
v-if="!isVisibleNavigationBars" v-if="!isVisibleNavigationBars"
@@ -15,13 +15,13 @@
'-translate-x-3 opacity-0': !isLoadedFolder || !isNotHomepage, '-translate-x-3 opacity-0': !isLoadedFolder || !isNotHomepage,
'translate-x-0 opacity-100': isLoadedFolder && isNotHomepage, 'translate-x-0 opacity-100': isLoadedFolder && isNotHomepage,
}" }"
class="mr-2 -ml-1 cursor-pointer align-middle transition-all duration-200 lg:-mt-0.5" class="mr-2 -ml-1 cursor-pointer align-middle transition-all duration-200 lg:-mt-0.5 shrink-0"
/> />
<!--Folder Title--> <!--Folder Title-->
<b <b
:class="{ '-translate-x-4': !isLoadedFolder || !isNotHomepage }" :class="{ '-translate-x-4': !isLoadedFolder || !isNotHomepage }"
class="inline-block lg:max-w-[210px] max-w-[190px] transform overflow-hidden text-ellipsis whitespace-nowrap align-middle text-sm font-bold transition-all duration-200 dark:text-gray-100" class="inline-block min-w-0 transform overflow-hidden text-ellipsis whitespace-nowrap align-middle text-sm font-bold transition-all duration-200 dark:text-gray-100"
> >
{{ $getCurrentLocationName() }} {{ $getCurrentLocationName() }}
</b> </b>
@@ -28,7 +28,9 @@
background: member.data.attributes.color ? member.data.attributes.color : '', background: member.data.attributes.color ? member.data.attributes.color : '',
}" }"
> >
<span :class="fontSize" class="font-extrabold uppercase text-white dark:text-gray-900"> <span class="font-extrabold uppercase text-white dark:text-gray-900"
:class="[fontSize, {'!text-gray-900': !member.data.attributes.color}]"
>
{{ letter }} {{ letter }}
</span> </span>
</div> </div>
@@ -305,7 +305,7 @@
</div> </div>
<!--Pricing Content--> <!--Pricing Content-->
<div v-if="config.isSaaS" class="card shadow-card"> <div v-if="config.subscriptionType === 'fixed'" class="card shadow-card">
<FormLabel>Pricing Content</FormLabel> <FormLabel>Pricing Content</FormLabel>
<div class="block-wrapper"> <div class="block-wrapper">
@@ -540,7 +540,7 @@ export default {
}) })
.then((response) => { .then((response) => {
this.app = { this.app = {
allow_homepage: parseInt(response.data.allow_homepage), allow_homepage: parseInt(response.data.allow_homepage || 1),
section_features: parseInt(response.data.section_features), section_features: parseInt(response.data.section_features),
section_feature_boxes: parseInt(response.data.section_feature_boxes), section_feature_boxes: parseInt(response.data.section_feature_boxes),
section_pricing_content: parseInt(response.data.section_pricing_content), section_pricing_content: parseInt(response.data.section_pricing_content),