don't show text for icon buttons when in mobile mode

This commit is contained in:
Daniel Spaude
2023-01-04 20:14:48 +01:00
parent 93596bef24
commit c4b9f9c403
6 changed files with 18 additions and 6 deletions

View File

@@ -38,6 +38,8 @@ const { t } = useI18n()
const { project } = useProject()
const { isMobileMode } = useGlobal()
const { $api, $e } = useNuxtApp()
const { copy } = useCopy()
@@ -153,7 +155,7 @@ const emailField = (inputEl: typeof Input) => {
>
<div class="flex flex-col" data-testid="invite-user-and-share-base-modal">
<div class="flex flex-row justify-between items-center pb-1.5 mb-2 border-b-1 w-full">
<a-typography-title class="select-none" :level="4"> {{ $t('activity.share') }}: {{ project.title }} </a-typography-title>
<a-typography-title v-if="!isMobileMode" class="select-none" :level="4"> {{ $t('activity.share') }}: {{ project.title }} </a-typography-title>
<a-button
type="text"