fix: update gateway badges to use readable light styles
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m48s
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m48s
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user