Commit c9146bc7 authored by Steven's avatar Steven

chore: update code style

parent f5b5bd64
...@@ -3,7 +3,7 @@ interface Props { ...@@ -3,7 +3,7 @@ interface Props {
} }
const Code: React.FC<Props> = ({ content }: Props) => { const Code: React.FC<Props> = ({ content }: Props) => {
return <code className="text-sm">`{content}`</code>; return <code className="inline break-all px-1 py-0.5 leading-none text-sm rounded bg-gray-100 dark:bg-zinc-700">{content}</code>;
}; };
export default Code; export default Code;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment