diff --git a/src/features/aliases/components/search.tsx b/src/features/aliases/components/search.tsx index cef6a1fec..122329656 100644 --- a/src/features/aliases/components/search.tsx +++ b/src/features/aliases/components/search.tsx @@ -3,8 +3,8 @@ import React from 'react'; import { defineMessages, useIntl } from 'react-intl'; import { fetchAliasesSuggestions, clearAliasesSuggestions, changeAliasesSuggestions } from 'soapbox/actions/aliases'; -import Icon from 'soapbox/components/icon'; import { Button } from 'soapbox/components/ui'; +import SvgIcon from 'soapbox/components/ui/icon/svg-icon'; import { useAppDispatch, useAppSelector } from 'soapbox/hooks'; const messages = defineMessages({ @@ -53,7 +53,7 @@ const Search: React.FC = () => { />
- +
diff --git a/src/features/list-editor/components/search.tsx b/src/features/list-editor/components/search.tsx index 71f136247..c02f08ef8 100644 --- a/src/features/list-editor/components/search.tsx +++ b/src/features/list-editor/components/search.tsx @@ -3,8 +3,8 @@ import React from 'react'; import { defineMessages, useIntl } from 'react-intl'; import { fetchListSuggestions, clearListSuggestions, changeListSuggestions } from 'soapbox/actions/lists'; -import Icon from 'soapbox/components/icon'; import { Button, Form, HStack, Input } from 'soapbox/components/ui'; +import SvgIcon from 'soapbox/components/ui/icon/svg-icon'; import { useAppSelector, useAppDispatch } from 'soapbox/hooks'; const messages = defineMessages({ @@ -45,7 +45,7 @@ const Search = () => { placeholder={intl.formatMessage(messages.search)} />
- +
diff --git a/src/styles/tailwind.css b/src/styles/tailwind.css index 1d1abc969..49e73944e 100644 --- a/src/styles/tailwind.css +++ b/src/styles/tailwind.css @@ -3,6 +3,17 @@ @tailwind utilities; @layer utilities { + .search__icon { + &::-moz-focus-inner { + border: 0; + } + + &::-moz-focus-inner, + &:focus { + outline: 0 !important; + } + } + .focusable:focus, .focusable-within:focus-within { outline: 0;