diff --git a/CHANGELOG.md b/CHANGELOG.md index 15791b6..ef55e4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,8 @@ the configuration; each release says how to upgrade. pill switches, and the Feed and Audit filters as chips. - Portal: forms (users, login, profile, settings, Node configuration, the Node dialogs) use the same fields, and every action button is rounded to match. +- Portal: the tracker editors, Publish, Add Torrent and Explore follow too — every form control in + the Portal now uses the same fields. ### Fixed - Portal: the language selector no longer spills out of the sidebar; it sits on its own row diff --git a/portal/src/components/Layout.tsx b/portal/src/components/Layout.tsx index 75bb73c..5761cf4 100644 --- a/portal/src/components/Layout.tsx +++ b/portal/src/components/Layout.tsx @@ -71,26 +71,14 @@ export function Layout({ const langSelect = ( ); diff --git a/portal/src/components/TrackerDescriptionEditor.tsx b/portal/src/components/TrackerDescriptionEditor.tsx index af3e850..06edba3 100644 --- a/portal/src/components/TrackerDescriptionEditor.tsx +++ b/portal/src/components/TrackerDescriptionEditor.tsx @@ -33,7 +33,7 @@ const LANGUAGE_NAME_KEY = { } as const; const btnCls = - "rounded-lg border border-slate-700 bg-slate-900 px-3 py-1.5 text-xs font-medium text-slate-200 transition hover:border-sky-600 hover:text-sky-200 disabled:opacity-40"; + "rounded-full border border-slate-700 bg-slate-900 px-3 py-1.5 text-xs font-medium text-slate-200 transition hover:border-sky-600 hover:text-sky-200 disabled:opacity-40"; const stepCls = "rounded px-1.5 py-0.5 text-xs text-slate-400 transition hover:bg-slate-800 hover:text-sky-300 disabled:opacity-30 disabled:hover:bg-transparent disabled:hover:text-slate-400"; @@ -149,7 +149,7 @@ export function TrackerDescriptionEditor({ value={draft.tag} onChange={(e) => setDraft((d) => ({ ...d, tag: e.target.value }))} aria-label={t("trackers.trackerDescriptionEditor.mediaInfoTagAria")} - className="rounded-lg border border-slate-700 bg-slate-950 px-2 py-1 text-xs text-white outline-none focus:border-emerald-500" + className="sg-field-sm sg-select" > {MEDIAINFO_TAGS.map((tag) => (