From 7e7358b3c2798e737678c827185c4a1b0d392058 Mon Sep 17 00:00:00 2001 From: m5r Date: Wed, 12 Aug 2026 22:21:13 +0200 Subject: [PATCH] milestone 23 s3: convert features/settings/ReadOnlyConfigBanner.tsx to stylex --- web/src/features/clients/ClientsPage.tsx | 5 +--- web/src/features/local/RecordsTab.tsx | 7 ++--- web/src/features/local/ZonesTab.tsx | 7 ++--- .../settings/ReadOnlyConfigBanner.tsx | 26 ++++++++++++++----- web/src/ui/styles.ts | 4 +++ 5 files changed, 29 insertions(+), 20 deletions(-) diff --git a/web/src/features/clients/ClientsPage.tsx b/web/src/features/clients/ClientsPage.tsx index 1fa5dd3..a534d1d 100644 --- a/web/src/features/clients/ClientsPage.tsx +++ b/web/src/features/clients/ClientsPage.tsx @@ -50,9 +50,6 @@ const styles = stylex.create({ paddingInline: "0.75rem", paddingBlock: "0.5rem", }, - mono: { - fontFamily: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace", - }, right: { textAlign: "right", }, @@ -134,7 +131,7 @@ export default function ClientsPage() { {clients.map((client) => ( - {client.ip} + {client.ip} {client.name === "" ? ( diff --git a/web/src/features/local/RecordsTab.tsx b/web/src/features/local/RecordsTab.tsx index 97cc588..643058d 100644 --- a/web/src/features/local/RecordsTab.tsx +++ b/web/src/features/local/RecordsTab.tsx @@ -73,9 +73,6 @@ const styles = stylex.create({ paddingBlock: "0.5rem", paddingRight: "1rem", }, - mono: { - fontFamily: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace", - }, emptyCell: { paddingBlock: "1rem", color: colors.textMuted, @@ -284,9 +281,9 @@ export default function RecordsTab() { ) : ( <> - {record.name} + {record.name} {record.rtype} - {record.value} + {record.value} {record.ttl}