Refactor: Use CSS class instead of inline styles for update warning

Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-11 17:11:32 +00:00
parent 6297358d48
commit afe3ec1699
2 changed files with 6 additions and 1 deletions

View File

@@ -174,6 +174,11 @@ span.running {
background-color: var(--color-running);
}
.container-update-warning {
color: #ff6b00;
font-weight: bold;
}
div.toast.success {
border-left-color: var(--color-success);
}

View File

@@ -18,7 +18,7 @@
(<a target="_blank" href="{{ c.documentation }}">docs</a>)
{% endif %}
{% if c.GetUpdateState().value == 'different' %}
<span style="color: #ff6b00; font-weight: bold;">⚠️ Update available</span>
<span class="container-update-warning">⚠️ Update available</span>
{% endif %}
</span>
{% if c.GetUiSecret() != '' %}