2
0
mirror of https://github.com/frappe/books.git synced 2025-01-24 15:48:25 +00:00

fix: toast styling, remove from window

This commit is contained in:
18alantom 2021-12-21 18:09:39 +05:30 committed by Alan
parent f21aee6664
commit 070b49d90f
2 changed files with 2 additions and 3 deletions

View File

@ -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>

View File

@ -337,5 +337,3 @@ export function showToast(props) {
},
});
}
window.showToast = showToast;