fix: accent buttons and allow selection of back

fixes #398
fixes #397
This commit is contained in:
Paul
2021-11-14 18:29:46 +00:00
parent 94fb1c6d71
commit 374f5d1747
2 changed files with 17 additions and 9 deletions

View File

@@ -102,8 +102,8 @@ export function SearchSidebar({ close }: Props) {
<GenericSidebarBase>
<GenericSidebarList>
<SearchBase>
<Overline type="error" onClick={close} block hoverEnabled>
« back to members
<Overline type="accent" block hover>
<a onClick={close}>« back to members</a>
</Overline>
<Overline type="subtle" block>
<Text id="app.main.channel.search.title" />
@@ -118,7 +118,7 @@ export function SearchSidebar({ close }: Props) {
<Button
key={key}
compact
error={sort === key}
accent={sort === key}
onClick={() => setSort(key as Sort)}>
<Text
id={`app.main.channel.search.sort.${key.toLowerCase()}`}