Change graph to static to stop white flash on update

This commit is contained in:
Peter Stockings
2023-01-22 23:24:09 +11:00
parent cd7411eac7
commit 0e5e1a8b76

View File

@@ -2,7 +2,7 @@
class="mb-4 text-4xl font-extrabold leading-none tracking-tight text-gray-900 md:text-5xl lg:text-6xl dark:text-white text-center">
{{last_cadence}} rpm</h1>
<embed type="image/svg+xml" src={{graph_data|safe}} class="w-full h-1/4" />
<img type="image/svg+xml" src={{graph_data|safe}} class="w-full h-1/4" />
<div class="relative overflow-x-auto">
<table class="w-full text-sm text-left text-gray-500 dark:text-gray-400">