2
0
mirror of https://github.com/frappe/books.git synced 2024-11-08 23:00:56 +00:00

chore: tune the Toasts

This commit is contained in:
18alantom 2022-01-19 17:20:00 +05:30
parent 89e70095ae
commit fdd1da3052
2 changed files with 5 additions and 8 deletions

View File

@ -9,18 +9,15 @@
flex
items-center
mb-3
w-60
w-80
"
:class="bgColor"
:class="bgColor + (action ? ' cursor-pointer' : '')"
style="transition: opacity 150ms ease-in"
:style="{ opacity }"
@click="action"
v-if="show"
>
<feather-icon
:name="iconName"
class="w-8 h-8 mr-3 text-gray-800"
:class="iconColor"
/>
<feather-icon :name="iconName" class="w-6 h-6 mr-3" :class="iconColor" />
<div>
<p class="text-base">{{ message }}</p>
<button

View File

@ -114,7 +114,7 @@ export default {
methods: {
showReloadToast() {
showToast({
message: _('Changes require reload'),
message: _('Settings changes will be visible on reload'),
actionText: frappe._('Reload App'),
type: 'info',
action: async () => {