[IMP] change style dnsmanager

This commit is contained in:
2026-05-02 22:58:44 +02:00
parent 271c71db3b
commit 20175d5ce6
+3 -3
View File
@@ -505,7 +505,7 @@ export default function DNSManager({ apiBase, token, onUnauthorized }) {
{pendingCount > 0 && (
<span style={{
display:"inline-flex",alignItems:"center",gap:4,
padding:"3px 10px",borderRadius:3,fontSize:12,fontWeight:600,
padding:"4px 12px",borderRadius:3,fontSize:14,fontWeight:600,
background:"rgba(255,200,0,0.15)",color:"var(--yellow)",
border:"1px solid rgba(255,200,0,0.3)",
}} title={`${pendingCount} action(s) en attente de synchronisation`}>
@@ -628,7 +628,7 @@ export default function DNSManager({ apiBase, token, onUnauthorized }) {
opacity: rec.active === false ? 0.5 : 1,
background: rec.pending_sync ? "rgba(255,200,0,0.04)" : "transparent",
}}>
<td className="cell-mono" style={{whiteSpace:"nowrap"}}>
<td className="cell-mono" style={{whiteSpace:"nowrap",fontSize:16}}>
{rec.name || "@"}
{rec.pending_sync && (
<span title="En attente de l'agent BIND — modification non encore appliquée sur le serveur"
@@ -642,7 +642,7 @@ export default function DNSManager({ apiBase, token, onUnauthorized }) {
<td><span className={typeBadge(rec.type)}>{rec.type}</span></td>
<td className="cell-dim">{rec.ttl ?? "—"}s</td>
<td className="cell-dim">{rec.priority ?? "—"}</td>
<td className="cell-mono" style={{maxWidth:260,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}>{rec.value}</td>
<td className="cell-mono" style={{maxWidth:260,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontSize:16}}>{rec.value}</td>
<td>
<div className="cell-actions">
<button