⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
bug fix
daniel31x136c006bb748df
diff --git a/components/Preservation/PreservationContent.tsx b/components/Preservation/PreservationContent.tsxindex e48d8c7d..9c5af00b 100644--- a/components/Preservation/PreservationContent.tsx+++ b/components/Preservation/PreservationContent.tsx@@ -183,7 +183,12 @@ export const PreservationContent: React.FC<Props> = ({ link, format }) => {{!imageLoaded && (<PreservationSkeleton className="max-w-screen-lg" />)}- <div className={`h-screen overflow-auto flex items-start`}>+ <div+ className={clsx(+ "overflow-auto flex items-start",+ imageLoaded && "h-screen"+ )}+ ><imgalt=""src={`/api/v1/archives/${link.id}?format=${currentFormat}`}@@ -198,7 +203,7 @@ export const PreservationContent: React.FC<Props> = ({ link, format }) => {"items-center");}- }, 0);+ }, 1);}}loading="eager"/>@@ -212,7 +217,7 @@ export const PreservationContent: React.FC<Props> = ({ link, format }) => {};return (- <div className="relative bg-base-200 h-screen">+ <div className="relative bg-base-200">{link.url && potentialTabs.length > 1 && (<Tabtabs={potentialTabs.map((tab) => ({diff --git a/components/Skeletons.tsx b/components/Skeletons.tsxindex 43c5ed03..fd035146 100644--- a/components/Skeletons.tsx+++ b/components/Skeletons.tsx@@ -3,7 +3,7 @@ import clsx from "clsx";export const PreservationSkeleton = ({ className }: { className?: string }) => (<divclassName={clsx(- "p-5 m-auto w-full flex flex-col items-center gap-5 h-full bg-base-200 justify-center",+ "p-5 m-auto w-full flex flex-col items-center gap-5 h-screen bg-base-200 justify-center",className)}>