Skip to content

Commit

Permalink
Merge pull request #3016 from mervekaraman/master
Browse files Browse the repository at this point in the history
Loading animation added to button.
  • Loading branch information
cuneytsenturk committed Aug 8, 2023
2 parents 8d5ad1d + 1e2137c commit 8d78bca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class="w-8 h-8 flex items-center px-2 rounded-lg hover:bg-gray-200"
@click="onActionBulkAction"
class="relative flex items-center justify-center bg-green hover:bg-green-700 text-white px-6 py-1.5 text-base rounded-lg disabled:bg-green-100"
>
<i v-if="bulk_action.loading" class="submit-spin absolute w-2 h-2 rounded-full left-0 right-0 -top-3.5 m-auto"></i>
<i v-if="bulk_action.loading" class="animate-submit delay-[0.28s] absolute w-2 h-2 rounded-full left-0 right-0 -top-3.5 m-auto before:absolute before:w-2 before:h-2 before:rounded-full before:animate-submit before:delay-[0.14s] after:absolute after:w-2 after:h-2 after:rounded-full after:animate-submit before:-left-3.5 after:-right-3.5 after:delay-[0.42s]"></i>
<span :class="[{'opacity-0': bulk_action.loading}]">{{ trans('general.confirm') }}</span>
</button>
</div>
Expand Down

0 comments on commit 8d78bca

Please sign in to comment.