Skip to content
Snippets Groups Projects
Commit 29c03915 authored by Julian's avatar Julian
Browse files

Allow overriding maxWidth

parent 8294bbf8
No related branches found
No related tags found
1 merge request!1304Refactor calendar overview in more different components
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
v-on="$listeners" v-on="$listeners"
:fullscreen="$vuetify.breakpoint.xs" :fullscreen="$vuetify.breakpoint.xs"
:hide-overlay="$vuetify.breakpoint.xs" :hide-overlay="$vuetify.breakpoint.xs"
max-width="600px" :max-width="maxWidth"
> >
<template #activator="activator"> <template #activator="activator">
<slot name="activator" v-bind="activator"></slot> <slot name="activator" v-bind="activator"></slot>
...@@ -34,6 +34,13 @@ ...@@ -34,6 +34,13 @@
export default { export default {
name: "MobileFullscreenDialog", name: "MobileFullscreenDialog",
extends: "v-dialog", extends: "v-dialog",
props: {
maxWidth: {
type: String | Number,
required: false,
default: "600px",
}
}
}; };
</script> </script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment