Skip to content

Commit 810a507

Browse files
committed
feat(frontend): fix logo and backdrop issue with filters
1 parent 0fc1414 commit 810a507

File tree

5 files changed

+5
-46
lines changed

5 files changed

+5
-46
lines changed

frontend/public/images/logo.png

20.3 KB
Loading

frontend/public/images/logo.svg

Lines changed: 0 additions & 42 deletions
This file was deleted.

frontend/public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="icon" href="%PUBLIC_URL%/images/logo.svg" />
5+
<link rel="icon" href="%PUBLIC_URL%/images/logo.png" />
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
77
<meta name="theme-color" content="#000000" />
88
<meta
99
name="description"
1010
content="WhoDB is the next-generation database explorer"
1111
/>
12-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/images/logo.svg" />
12+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/images/logo.png" />
1313
<!--
1414
manifest.json provides metadata used when your web app is installed on a
1515
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/

frontend/src/components/sidebar/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ export const Sidebar: FC = () => {
305305
}
306306
}} animate={animate}>
307307
<div className="flex gap-2">
308-
<img src="https://clidey.com/logo.svg" alt="clidey logo" className="w-8 h-8" />
308+
<img src="/images/logo.png" alt="clidey logo" className="w-auto h-8" />
309309
<span className={classNames(BRAND_COLOR, "text-2xl")}>WhoDB</span>
310310
</div>
311311
</motion.div>

frontend/src/pages/storage-unit/explore-storage-unit-where-condition.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export const ExploreStorageUnitWhereCondition: FC<IExploreStorageUnitWhereCondit
155155
<AnimatePresence mode="wait">
156156
{
157157
newFilter &&
158-
<motion.div className="flex gap-1 z-[5] py-2 px-4 absolute top-full mt-1 rounded-lg shadow-md border border-neutral-100 dark:border-white/5 dark:bg-white/20 dark:backdrop-blur-xl translate-y-full bg-white" initial={{
158+
<motion.div className="flex gap-1 z-[5] py-2 px-4 absolute top-full mt-1 rounded-lg shadow-md border border-neutral-100 dark:border-white/5 dark:bg-white/20 translate-y-full bg-white" initial={{
159159
y: -10,
160160
opacity: 0,
161161
}} animate={{
@@ -165,6 +165,7 @@ export const ExploreStorageUnitWhereCondition: FC<IExploreStorageUnitWhereCondit
165165
y: -10,
166166
opacity: 0,
167167
}}>
168+
<div className="hidden absolute inset-0 rounded-lg dark:flex dark:backdrop-blur-xl -z-[1]" />
168169
<Dropdown noItemsLabel="No fields found" className="min-w-[100px]" value={createDropdownItem(currentFilter.field)} items={fieldsDropdownItems} onChange={handleFieldSelect} />
169170
<Dropdown noItemsLabel="No operators found" className="min-w-20" value={createDropdownItem(currentFilter.operator)} items={validOperators} onChange={handleOperatorSelector} />
170171
<Input inputProps={{

0 commit comments

Comments
 (0)