2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 03:29:00 +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 flex
items-center items-center
mb-3 mb-3
w-60 w-80
" "
:class="bgColor" :class="bgColor + (action ? ' cursor-pointer' : '')"
style="transition: opacity 150ms ease-in" style="transition: opacity 150ms ease-in"
:style="{ opacity }" :style="{ opacity }"
@click="action"
v-if="show" v-if="show"
> >
<feather-icon <feather-icon :name="iconName" class="w-6 h-6 mr-3" :class="iconColor" />
:name="iconName"
class="w-8 h-8 mr-3 text-gray-800"
:class="iconColor"
/>
<div> <div>
<p class="text-base">{{ message }}</p> <p class="text-base">{{ message }}</p>
<button <button

View File

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