diff --git a/src/components/CMyDialog/CMyDialog.scss b/src/components/CMyDialog/CMyDialog.scss index e69de29b..23884b4b 100755 --- a/src/components/CMyDialog/CMyDialog.scss +++ b/src/components/CMyDialog/CMyDialog.scss @@ -0,0 +1,10 @@ +.maximized-dialog-card { + max-width: 90%; + /* Larghezza massima del dialog */ + max-height: 90%; + /* Altezza massima del dialog */ + margin: auto; + /* Centra il dialog nello schermo */ + border-radius: 16px; + /* Angoli arrotondati opzionali */ +} \ No newline at end of file diff --git a/src/components/CMyDialog/CMyDialog.ts b/src/components/CMyDialog/CMyDialog.ts index b37f6b0a..49de0872 100755 --- a/src/components/CMyDialog/CMyDialog.ts +++ b/src/components/CMyDialog/CMyDialog.ts @@ -20,6 +20,11 @@ export default defineComponent({ required: false, default: '', }, + class: { + type: String, + required: false, + default: '', + }, }, setup(props, { emit }) { const userStore = useUserStore() diff --git a/src/components/CMyDialog/CMyDialog.vue b/src/components/CMyDialog/CMyDialog.vue index ed981785..7f051525 100755 --- a/src/components/CMyDialog/CMyDialog.vue +++ b/src/components/CMyDialog/CMyDialog.vue @@ -1,25 +1,34 @@ - - - - - {{ title }} - - - + + + + + + {{ title }} + + + - - - - - + + + + + + - +