Skip to content

Commit

Permalink
added visual hins for loading
Browse files Browse the repository at this point in the history
  • Loading branch information
zmigroo committed Jan 14, 2024
1 parent ddc5c7b commit 2658039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/Pages/City/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function createOpinion() {
{{ __('Rules') }} <ArrowDownIcon :class="regulationsOpen ? 'rotated' : ''" class="absolute right-3 inline-block h-6 w-6 transition-all" />
</div>
<div v-if="currentRules == ''" :class="regulationsOpen ? 'show' : ''" class="overflow-scroll transition">
<i class="text-gray-400">{{ __('loading info about rules, please wait') }}...</i>
<i class="animate-pulse text-gray-400">{{ __('loading info about rules, please wait') }}...</i>
</div>
<div v-else :class="regulationsOpen ? 'show' : ''" class="overflow-scroll transition" style="white-space: pre-line;">
{{ currentRules }}
Expand Down

0 comments on commit 2658039

Please sign in to comment.