styles: revert search options button styling

This commit is contained in:
Antonella Sgarlatta
2021-05-12 18:29:02 -03:00
parent c4833ddc52
commit 075f1b910b
2 changed files with 2 additions and 3 deletions

View File

@@ -8,7 +8,6 @@ import {
DisclosureButton,
DisclosurePanel,
} from '@reach/disclosure';
import { FocusEvent } from 'react';
import { Switch } from './Switch';
import TuneIcon from '../../icons/ic-tune.svg';
import { observer } from 'mobx-react-lite';
@@ -54,7 +53,7 @@ const SearchOptions = observer(({ appState }: Props) => {
<DisclosureButton
ref={buttonRef}
onBlur={closeOnBlur}
className="sn-icon-button"
className="border-0 p-0 bg-transparent cursor-pointer color-neutral hover:color-info"
>
<VisuallyHidden>Search options</VisuallyHidden>
<TuneIcon className="fill-current block" />

View File

@@ -83,7 +83,7 @@
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 46px;
right: 36px;
cursor: pointer;
transition: background-color 0.15s linear;