3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 08:45:03 +00:00

Add transition to save button

This commit is contained in:
Coding 2021-07-23 16:57:41 -07:00
parent 028b7b3725
commit 304dbdc824

View file

@ -10,7 +10,7 @@
<div class="flex items-center flex-wrap"> <div class="flex items-center flex-wrap">
<h1 class="flex-full md:flex-auto">Config for {{ guild.name }}</h1> <h1 class="flex-full md:flex-auto">Config for {{ guild.name }}</h1>
<button v-if="!saving" class="flex-none bg-green-800 px-5 py-2 rounded hover:bg-green-700" v-on:click="save"> <button v-if="!saving" class="flex-none bg-green-800 px-5 py-2 rounded hover:bg-green-700 transition duration-100" v-on:click="save">
<span v-if="saved">Saved!</span> <span v-if="saved">Saved!</span>
<span v-else>Save</span> <span v-else>Save</span>
</button> </button>