Skip to content

Commit 0751e2c

Browse files
committed
Styling fixes
1 parent cafc942 commit 0751e2c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/components/search/DefaultSearchBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ChevronDown, ExternalLink, SearchIcon } from "lucide-react"
77
export function DefaultSearchBox(props: InputViewProps) {
88
return (
99
<div className="rfs-relative rfs-flex rfs-w-full rfs-max-w-[1300px] rfs-px-[15px] md:rfs-px-[calc(24px+0.5rem)] rfs-flex-col rfs-items-center rfs-gap-4 md:rfs-flex-row">
10-
<SearchIcon className="rfs-absolute rfs-left-12 rfs-top-3 rfs-size-4 rfs-text-muted-foreground md:rfs-top-auto" />
10+
<SearchIcon className="rfs-absolute rfs-left-7 md:rfs-left-12 rfs-top-3.5 rfs-size-4 rfs-text-muted-foreground md:rfs-top-auto" />
1111
<Input {...props.getInputProps()} placeholder="Search for something..." className="rfs-h-11 rfs-pl-10" />
1212
<div className="rfs-flex rfs-w-full rfs-items-center md:rfs-h-full md:rfs-w-auto">
1313
<Button {...props.getButtonProps()} className="rfs-grow rfs-rounded-r-none" size="lg">

src/elastic-ui.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* Body
1616
*/
1717
.sui-layout-body {
18-
background: hsl(var(--background));
18+
background: hsl(var(--rfs-background));
1919
}
2020

2121
@media (max-width: 800px) {
@@ -82,8 +82,8 @@
8282
width: 100%;
8383
margin: 0;
8484
padding: 0 15px 30px 15px;
85-
color: hsl(var(--foreground));
86-
background-color: hsl(var(--background));
85+
color: hsl(var(--rfs-foreground));
86+
background-color: hsl(var(--rfs-background));
8787
overflow: auto;
8888
}
8989
}
@@ -104,9 +104,9 @@
104104
line-height: 1.5;
105105
font-size: 14px;
106106
font-weight: 500;
107-
color: hsl(var(--secondary-foreground));
108-
background-color: hsl(var(--secondary));
109-
border: 1px solid hsl(var(--border));
107+
color: hsl(var(--rfs-secondary-foreground));
108+
background-color: hsl(var(--rfs-secondary));
109+
border: 1px solid hsl(var(--rfs-border));
110110
border-radius: 4px;
111111
}
112112

0 commit comments

Comments
 (0)