|
@ -1,7 +1,7 @@ |
|
|
<!-- similar to UserNameDialog --> |
|
|
<!-- similar to UserNameDialog --> |
|
|
<template> |
|
|
<template> |
|
|
<div v-if="visible" :class="overlayClasses"> |
|
|
<div v-if="visible" class="dialog-overlay"> |
|
|
<div :class="dialogClasses"> |
|
|
<div class="dialog"> |
|
|
<h1 :class="titleClasses">{{ title }}</h1> |
|
|
<h1 :class="titleClasses">{{ title }}</h1> |
|
|
{{ message }} |
|
|
{{ message }} |
|
|
Note that their name is only stored on this device. |
|
|
Note that their name is only stored on this device. |
|
@ -61,20 +61,6 @@ export default class ContactNameDialog extends Vue { |
|
|
title = "Contact Name"; |
|
|
title = "Contact Name"; |
|
|
visible = false; |
|
|
visible = false; |
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* CSS classes for the modal overlay backdrop |
|
|
|
|
|
*/ |
|
|
|
|
|
get overlayClasses(): string { |
|
|
|
|
|
return "z-index-50 fixed top-0 left-0 right-0 bottom-0 bg-black/50 flex justify-center items-center p-6"; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* CSS classes for the modal dialog container |
|
|
|
|
|
*/ |
|
|
|
|
|
get dialogClasses(): string { |
|
|
|
|
|
return "bg-white p-4 rounded-lg w-full max-w-[500px]"; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* CSS classes for the dialog title |
|
|
* CSS classes for the dialog title |
|
|
*/ |
|
|
*/ |
|
|