Skip to content

Commit 1d1c4e1

Browse files
committed
Dark mode fixes for model empty state
1 parent 428f3be commit 1d1c4e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/ModelCatalog.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ const ModelCatalog = ({ models }) => {
185185
</div>
186186
<div className="flex md:w-3/4 w-full gap-[1%] items-stretch self-start flex-wrap !mt-0">
187187
{modelList.length === 0 && (
188-
<div className="border bg-gray-50 rounded-md w-full flex-col flex align-middle justify-center text-center py-6">
188+
<div className="border bg-gray-50 dark:bg-gray-800 dark:border-gray-500 rounded-md w-full flex-col flex align-middle justify-center text-center py-6">
189189
<span className="text-lg !font-bold">No models found</span>
190190
<p>
191191
Try a different search term, or broaden your search by removing

src/components/models/SchemaRow.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const { node, root } = Astro.props;
66
---
77

88
<li
9-
class={`py-2 !my-0 !list-none ${root ? "" : "border-l border-l-gray-200 pl-4"}`}
9+
class={`py-2 !my-0 !list-none ${root ? "" : "border-l border-l-gray-200 dark:border-l-gray-500 pl-4"}`}
1010
>
1111
{
1212
node.title ? (

0 commit comments

Comments
 (0)