feat(blog): make toc toggle button take full width

This commit is contained in:
Kim, Jimin 2023-07-28 22:08:22 +09:00
parent ef31876ad7
commit b639c3d0bd
Signed by: pomp
GPG key ID: CE1DDB8A4A765403

View file

@ -25,7 +25,10 @@ export default function Toc({ data }: Props) {
return ( return (
<> <>
<button onClick={() => setIsTocOpened((prev) => !prev)}> <button
className="w-full"
onClick={() => setIsTocOpened((prev) => !prev)}
>
<strong> <strong>
Table of Contents{" "} Table of Contents{" "}
<FontAwesomeIcon <FontAwesomeIcon