diff --git a/src/components/dialog/GlobalDialog.vue b/src/components/dialog/GlobalDialog.vue index 6bf3eab44..bb3b98478 100644 --- a/src/components/dialog/GlobalDialog.vue +++ b/src/components/dialog/GlobalDialog.vue @@ -6,7 +6,9 @@ v-model:visible="item.visible" :class="[ 'global-dialog', - item.key === 'global-settings' ? 'settings-dialog' : '' + item.key === 'global-settings' && teamWorkspacesEnabled + ? 'settings-dialog-workspace' + : '' ]" v-bind="item.dialogComponentProps" :pt="item.dialogComponentProps.pt" @@ -41,8 +43,13 @@ @@ -59,12 +66,13 @@ const dialogStore = useDialogStore() @apply pt-0; } -.settings-dialog { +/* Workspace mode: wider settings dialog */ +.settings-dialog-workspace { width: 100%; max-width: 1440px; } -.settings-dialog .p-dialog-content { +.settings-dialog-workspace .p-dialog-content { width: 100%; } diff --git a/src/components/dialog/content/setting/UserPanel.vue b/src/components/dialog/content/setting/UserPanel.vue index 8f8f77cd3..60bc6dba3 100644 --- a/src/components/dialog/content/setting/UserPanel.vue +++ b/src/components/dialog/content/setting/UserPanel.vue @@ -1,5 +1,5 @@ - + + + + - - @@ -125,7 +128,7 @@
- {{ isOwnerUnsubscribed ? '0' : totalCredits }} + {{ showZeroState ? '0' : totalCredits }}
@@ -140,7 +143,7 @@ height="1rem" /> {{ - isOwnerUnsubscribed ? '0 / 0' : includedCreditsDisplay + showZeroState ? '0 / 0' : includedCreditsDisplay }} @@ -155,7 +158,7 @@ height="1rem" /> {{ - isOwnerUnsubscribed ? '0' : prepaidCredits + showZeroState ? '0' : prepaidCredits }}