Skip to content

Commit 530160a

Browse files
committed
remove form focus rings
1 parent cae5eb6 commit 530160a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/ReferenceDirectoryWithFilter/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export const ReferenceDirectoryWithFilter = ({
167167
type="text"
168168
id="search"
169169
ref={inputRef}
170-
class="w-full bg-transparent py-xs text-accent-type-color placeholder:text-accent-type-color"
170+
class="w-full bg-transparent py-xs text-accent-type-color placeholder:text-accent-type-color focus:outline-0"
171171
placeholder="Filter by keyword"
172172
onKeyUp={(e: JSX.TargetedKeyboardEvent<HTMLInputElement>) => {
173173
const target = e.target as HTMLInputElement;

src/components/SearchForm/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const t = await getUiTranslator(currentLocale);
2020
type="search"
2121
placeholder={t("Search") as string}
2222
name="term"
23-
class="placeholder-accent-type-color bg-transparent pl-[40px] py-[6px] md:py-[4px] lg:py-[8px] w-full rounded-[20px] peer"
23+
class="placeholder-accent-type-color bg-transparent pl-[40px] py-[6px] md:py-[4px] lg:py-[8px] w-full rounded-[20px] focus:outline-0 peer"
2424
aria-label="Search through site content"
2525
required
2626
/>

src/components/SearchResults/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const SearchResults = ({
116116
onSearchChange(e);
117117
}
118118
}}
119-
class="h-fit w-full appearance-none bg-transparent px-md text-4xl placeholder-sidebar-type-color"
119+
class="h-fit w-full appearance-none bg-transparent px-md text-4xl placeholder-sidebar-type-color focus:outline-0"
120120
aria-label="Search through site content"
121121
required
122122
/>

0 commit comments

Comments
 (0)