diff --git a/web/source/settings/style.css b/web/source/settings/style.css index 3d1545634..ad4b1c3c5 100644 --- a/web/source/settings/style.css +++ b/web/source/settings/style.css @@ -581,6 +581,10 @@ span.form-info { .filter { display: flex; gap: 0.5rem; + + button { + width: 100%; + } } .entry { diff --git a/web/source/settings/views/moderation/domain-permissions/overview.tsx b/web/source/settings/views/moderation/domain-permissions/overview.tsx index 78560ba34..b2e675e05 100644 --- a/web/source/settings/views/moderation/domain-permissions/overview.tsx +++ b/web/source/settings/views/moderation/domain-permissions/overview.tsx @@ -100,7 +100,7 @@ function DomainPermsList({ data, permType, permTypeUpper }: DomainPermsListProps function filterFormSubmit(e) { e.preventDefault(); - setLocation(`/${filter}`); + setLocation(`/${permType}s/${filter}`); } const filter = filterField.value ?? ""; @@ -136,12 +136,15 @@ function DomainPermsList({ data, permType, permTypeUpper }: DomainPermsListProps placeholder="example.org" label={`Search or add domain ${permType}`} /> - {permTypeUpper} {filter} - +