mirror of
https://github.com/frappe/books.git
synced 2025-01-24 07:38:25 +00:00
fix: toast styling, remove from window
This commit is contained in:
parent
f21aee6664
commit
070b49d90f
@ -11,6 +11,7 @@
|
||||
items-center
|
||||
mb-3
|
||||
w-60
|
||||
bg-gray-100
|
||||
"
|
||||
style="transition: opacity 150ms ease-in"
|
||||
:style="{ opacity }"
|
||||
@ -19,7 +20,7 @@
|
||||
<feather-icon name="alert-circle" class="w-8 h-8 mr-3 text-gray-800" />
|
||||
<div>
|
||||
<p class="text-base">{{ message }}</p>
|
||||
<button v-if="actionText" @click="action" class="text-sm underline">
|
||||
<button v-if="actionText" @click="action" class="text-sm text-gray-700 hover:text-gray-800">
|
||||
{{ actionText }}
|
||||
</button>
|
||||
</div>
|
||||
|
@ -337,5 +337,3 @@ export function showToast(props) {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
window.showToast = showToast;
|
||||
|
Loading…
x
Reference in New Issue
Block a user