diff --git a/src/components/article/MarkdownToolbar.tsx b/src/components/article/MarkdownToolbar.tsx index af0722f..60e6a98 100644 --- a/src/components/article/MarkdownToolbar.tsx +++ b/src/components/article/MarkdownToolbar.tsx @@ -180,8 +180,7 @@ export function MarkdownToolbar({ textareaRef, content, setContent, setUploading key={action} onClick={() => handleClick(action)} title={title} - className="px-2 py-0.5 text-[11px] text-text-muted hover:text-text hover:bg-bg-hover transition-colors rounded-sm" - style={{ fontWeight: bold ? "bold" : undefined, fontStyle: italic ? "italic" : undefined }} + className={`px-2 py-0.5 text-[11px] text-text-muted hover:text-text hover:bg-bg-hover transition-colors rounded-sm ${bold ? "font-bold" : ""} ${italic ? "italic" : ""}`} > {label} diff --git a/src/components/feed/NoteContent.tsx b/src/components/feed/NoteContent.tsx index 137f217..e3cfac8 100644 --- a/src/components/feed/NoteContent.tsx +++ b/src/components/feed/NoteContent.tsx @@ -53,13 +53,12 @@ function ImageGrid({ images, onImageClick }: { images: string[]; onImageClick: ( if (count === 3) { return ( -