RegularToot: added preview cards

This commit is contained in:
thislight 2024-08-17 17:16:18 +08:00
parent bd1a515ef8
commit df19e54d9b
5 changed files with 144 additions and 11 deletions
src/timelines

View file

@ -18,7 +18,7 @@ const CompactToot: Component<CompactTootProps> = (props) => {
const toot = () => props.status;
return (
<section
class={[tootStyle.compact, props.class || ""].join(" ")}
class={[tootStyle.toot, tootStyle.compact, props.class || ""].join(" ")}
lang={toot().language || undefined}
>
<Img