- {children(isOpen)}
-
setIsOpen(!isOpen)}
+ className={`${
+ isOpen ? `w-sidebar` : "w-20"
+ } transition-[width] fixed bg-slate-50 z-10 h-full flex flex-col`}
>
- {isOpen ? (
-
- ) : (
-
- )}
+ {children(isOpen)}
+
+
setIsOpen(!isOpen)}
+ >
+ {isOpen ? (
+
+ ) : (
+
+ )}
+
)
diff --git a/src/css/prose.css b/src/css/prose.css
index 8c90be7b..72776915 100644
--- a/src/css/prose.css
+++ b/src/css/prose.css
@@ -106,7 +106,7 @@
.prose .table-wrapper {
@apply min-w-full rounded-xl text-sm my-7 whitespace-nowrap overflow-auto;
- @apply shadow-sm ring-1 ring-zinc-700 ring-opacity-10;
+ @apply border border-border;
}
.prose table {
diff --git a/src/pages/dashboard/[subdomain]/index.tsx b/src/pages/dashboard/[subdomain]/index.tsx
index a6ed46c6..55cb6ade 100644
--- a/src/pages/dashboard/[subdomain]/index.tsx
+++ b/src/pages/dashboard/[subdomain]/index.tsx
@@ -74,7 +74,7 @@ export default function SubdomainIndex() {
const showcaseSites = useGetSites(showcase)
return (
-
+