Skip to content

Commit b46de9f

Browse files
authored
Merge pull request #921 from processing/pr-766-20
Cherrypick PR 766 to the 2.0 branch
2 parents 813ae4d + a99c48d commit b46de9f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/LinkButton/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ switch (variant) {
2020
---
2121

2222
<a
23-
class={"button-link outline outline-1 outline-type-color py-2 px-4 flex flex-nowrap w-fit items-center justify-between rounded-full hover:bg-sidebar-type-color hover:text-bg-color hover:no-underline " +
23+
class={"button-link border border-1 border-sidebar-type-color py-2 px-4 flex flex-nowrap w-fit items-center justify-between rounded-full hover:bg-sidebar-type-color hover:text-bg-color hover:no-underline " +
2424
Astro.props.class}
2525
href={url}
2626
>

src/components/SearchForm/index.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const t = await getUiTranslator(currentLocale);
1010
action={`${currentLocale === "en" ? "" : `/${currentLocale}`}/search`}
1111
method="GET"
1212
role="search"
13-
class="relative w-full h-full text-accent-type-color bg-accent-color border-accent-type-color border rounded-[20px] !mx-0"
13+
class="relative w-full h-full text-accent-type-color bg-accent-color rounded-[20px] !mx-0"
1414
>
1515
<div class="absolute top-[6px] lg:top-[10px] left-[11px]">
1616
<Icon kind="search" />
@@ -20,14 +20,14 @@ 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-gutter-md py-[6px] md:py-[4px] lg:py-[8px] w-full rounded-[20px] focus:outline-0 peer"
23+
class="border-accent-type-color border outline-offset-0 placeholder-accent-type-color bg-transparent pl-gutter-md py-[6px] md:py-[4px] lg:py-[8px] h-full w-full rounded-[20px] peer"
2424
aria-label="Search through site content"
2525
required
2626
/>
2727
<button
2828
type="submit"
2929
aria-label="Submit search"
30-
class="invisible peer-valid:visible absolute pl-[22px] pr-[12px] right-0 top-0 py-[11px] lg:py-[13px]"
30+
class="invisible peer-valid:visible absolute pl-[22px] pr-[12px] right-0 top-0 py-[11px] lg:py-[13px] h-full"
3131
><Icon kind="search-submit" /></button
3232
>
3333
</form>

0 commit comments

Comments
 (0)