feat: added max width for print setting dialog (#2252)

This commit is contained in:
Michael Genson 2023-03-21 14:52:18 -05:00 committed by GitHub
parent b460ae9f25
commit b52848595c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@
:icon="$globals.icons.printerSettings"
:title="$tc('general.print-preferences')"
width="70%"
max-width="816px"
>
<div class="pa-6">
<v-container class="print-config mb-3 pa-0">

View File

@ -5,6 +5,7 @@
v-model="dialog"
absolute
:width="width"
:max-width="maxWidth"
:content-class="top ? 'top-dialog' : undefined"
:fullscreen="$vuetify.breakpoint.xsOnly"
@keydown.enter="
@ -96,6 +97,10 @@ export default defineComponent({
type: [Number, String],
default: "500",
},
maxWidth: {
type: [Number, String],
default: null,
},
loading: {
type: Boolean,
default: false,