Skip to content

Commit

Permalink
Merge branch 'sharing-visual-glitches' into 'main'
Browse files Browse the repository at this point in the history
Fix visual gliches in share dialog on zoom

See merge request reportcreator/reportcreator!709
  • Loading branch information
MWedl committed Sep 20, 2024
2 parents dba65bf + d634205 commit 285dcd5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/src/components/Notes/ShareDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<s-dialog
v-if="isVisible"
v-model="isVisible"
:min-width="mdAndDown ? '90vw' : '60vw'"
min-height="50vh"
min-width="50vw"
>
<template #title>Share Note</template>
<template #default>
Expand All @@ -21,6 +21,7 @@
:key="shareInfo.id"
:value="shareInfo.id"
prepend-icon="mdi-share-variant"
class="pl-2"
>
<template #title>
<chip-created :value="shareInfo.created" />
Expand All @@ -36,7 +37,7 @@
<v-list-item>
<s-btn-secondary
@click="openCreateForm"
text="New Share Link"
text="Share"
prepend-icon="mdi-share-variant"
size="small"
block
Expand Down Expand Up @@ -99,6 +100,7 @@ import { addDays, formatISO9075 } from "date-fns";
const auth = useAuth();
const apiSettings = useApiSettings();
const { mdAndDown } = useDisplay();
const isVisible = defineModel<boolean>();
const props = defineProps<{
Expand Down

0 comments on commit 285dcd5

Please sign in to comment.