a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

tweak card preview block styling

+4 -2
+4 -2
components/CardBlock.tsx
··· 97 97 case "heading": 98 98 return <HeadingPreviewBlock entityID={props.entityID} />; 99 99 case "card": 100 - return <div className="w-full h-4 rounded-md bg-border-light" />; 100 + return ( 101 + <div className="w-full h-4 shrink-0 rounded-md border border-border-light" /> 102 + ); 101 103 case "image": 102 104 return <ImagePreviewBlock entityID={props.entityID} />; 103 105 default: ··· 115 117 } 116 118 117 119 const HeadingStyle = { 118 - 1: "text-[6px] font-bold", 120 + 1: "text-[5px] font-bold", 119 121 2: "text-[4px] font-bold ", 120 122 3: "text-[3px] font-bold italic text-secondary ", 121 123 } as { [level: number]: string };