Skip to content

Commit

Permalink
set initial load spinner style in style tag instead of inline style
Browse files Browse the repository at this point in the history
  • Loading branch information
jh-RLI committed Dec 24, 2023
1 parent 62b9fa6 commit af11556
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions htmxdj/templates/pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,15 @@
id="content-news"></div>
<div id="loading-spinner"
class="spinner-border text-primary"
role="status"
style="display: none">
role="status">
<span class="visually-hidden">Loading...</span>
</div>

<style>
.loading-spinner {
display: none;
}
</style>
{% endblock content %}
{% block javascript %}
<script>
Expand Down

0 comments on commit af11556

Please sign in to comment.