mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
feat: added max width for print setting dialog (#2252)
This commit is contained in:
parent
b460ae9f25
commit
b52848595c
@ -4,6 +4,7 @@
|
|||||||
:icon="$globals.icons.printerSettings"
|
:icon="$globals.icons.printerSettings"
|
||||||
:title="$tc('general.print-preferences')"
|
:title="$tc('general.print-preferences')"
|
||||||
width="70%"
|
width="70%"
|
||||||
|
max-width="816px"
|
||||||
>
|
>
|
||||||
<div class="pa-6">
|
<div class="pa-6">
|
||||||
<v-container class="print-config mb-3 pa-0">
|
<v-container class="print-config mb-3 pa-0">
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
v-model="dialog"
|
v-model="dialog"
|
||||||
absolute
|
absolute
|
||||||
:width="width"
|
:width="width"
|
||||||
|
:max-width="maxWidth"
|
||||||
:content-class="top ? 'top-dialog' : undefined"
|
:content-class="top ? 'top-dialog' : undefined"
|
||||||
:fullscreen="$vuetify.breakpoint.xsOnly"
|
:fullscreen="$vuetify.breakpoint.xsOnly"
|
||||||
@keydown.enter="
|
@keydown.enter="
|
||||||
@ -96,6 +97,10 @@ export default defineComponent({
|
|||||||
type: [Number, String],
|
type: [Number, String],
|
||||||
default: "500",
|
default: "500",
|
||||||
},
|
},
|
||||||
|
maxWidth: {
|
||||||
|
type: [Number, String],
|
||||||
|
default: null,
|
||||||
|
},
|
||||||
loading: {
|
loading: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user