Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

minor fix

daniel31x13d377fa6eb0f6
diff --git a/apps/web/components/Preservation/PreservationContent.tsx b/apps/web/components/Preservation/PreservationContent.tsx
index d132de5e..42036175 100644
--- a/apps/web/components/Preservation/PreservationContent.tsx
+++ b/apps/web/components/Preservation/PreservationContent.tsx
@@ -86,7 +86,6 @@ export const PreservationContent: React.FC<Props> = ({ link, format }) => {
const activeTabIndex = potentialTabs.findIndex(
(tab) => tab.format === currentFormat
);
- const validActiveTabIndex = activeTabIndex >= 0 ? activeTabIndex : 0;
function handleTabChange(newIndex: number) {
if (newIndex >= potentialTabs.length) return;
@@ -247,7 +246,7 @@ export const PreservationContent: React.FC<Props> = ({ link, format }) => {
<TabsTrigger
value={String(idx)}
className={clsx(
- "flex gap-1 items-center rounded-full px-1 py-0"
+ "flex gap-1 items-center rounded-full aspect-square h-7 w-7"
)}
data-state={
idx === activeTabIndex ? "active" : "inactive"