Skip to content

Commit

Permalink
(fix) minor ui issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Jun 5, 2024
1 parent f1e3ed6 commit b4d4227
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/pkg/frontend/src/components/Bar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let baseURL = import.meta.env.PUBLIC_BASE_URL;
<div class="max-w-4xl mx-auto p-5 text-slate-400 bg-slate-900 rounded-b-lg">
<pre
class="break-all font-mono text-xs">{baseURL +
"/api\n?style=bar\n&progress_color=27AE60\n&background_color=EAF2E3\n&circle_color=EADDCA\n&text_color=145A32\n&caption_color=82E0AA\n&progress=70\n&width=150\n&height=30&text_size=15\n&caption_size=15\n&caption=Success"}
"/api\n?style=bar\n&progress_color=27AE60\n&background_color=EAF2E3\n&circle_color=EADDCA\n&text_color=145A32\n&caption_color=82E0AA\n&progress=70\n&width=150\n&height=30\n&text_size=15\n&caption_size=15\n&caption=Success"}
</pre>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/pkg/frontend/src/components/Battery.astro
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ let baseURL = import.meta.env.PUBLIC_BASE_URL;
<div class="max-w-4xl mx-auto p-5 text-slate-400 bg-slate-900 rounded-b-lg">
<pre
class="break-all font-mono text-xs">{baseURL +
"/api\n?style=battery\n&progress_color=27AE60\n&background_color=EAF2E3\n&circle_color=EADDCA\n&text_color=145A32\n&caption_color=82E0AA\n&progress=70\n&width=150\n&height=30&text_size=15\n&caption_size=15\n&caption=Success"}
"/api\n?style=battery\n&progress_color=27AE60\n&background_color=EAF2E3\n&circle_color=EADDCA\n&text_color=145A32\n&caption_color=82E0AA\n&progress=70\n&width=150\n&height=30\n&text_size=15\n&caption_size=15\n&caption=Success"}
</pre>
</div>
</div>
Expand Down

0 comments on commit b4d4227

Please sign in to comment.