fix: update gateway badges to use readable light styles
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m48s

This commit is contained in:
2026-01-20 14:02:34 +07:00
parent 8d34822d12
commit 75f44d2c4b
@@ -221,12 +221,12 @@ export default function ServerCard({
{server.gateways.map((gw, idx) => (
<span
key={gw.id || idx}
className={`badge ${gw.primary ? 'bg-primary' : 'bg-secondary-lt text-secondary'}`}
className={`badge ${gw.primary ? 'bg-azure-lt text-azure' : 'bg-secondary-lt text-secondary'}`}
title={gw.comment || (gw.primary ? 'Основной' : 'Резервный')}
>
{gw.primary && <IconCheck size={11} className="me-1" />}
{gw.name}
{gw.ip && <span className="ms-1 opacity-75">({gw.ip})</span>}
{gw.ip && <span className="ms-1">({gw.ip})</span>}
</span>
))}
</div>