feat(blog): make toc toggle button take full width
This commit is contained in:
parent
ef31876ad7
commit
b639c3d0bd
1 changed files with 4 additions and 1 deletions
|
@ -25,7 +25,10 @@ export default function Toc({ data }: Props) {
|
|||
|
||||
return (
|
||||
<>
|
||||
<button onClick={() => setIsTocOpened((prev) => !prev)}>
|
||||
<button
|
||||
className="w-full"
|
||||
onClick={() => setIsTocOpened((prev) => !prev)}
|
||||
>
|
||||
<strong>
|
||||
Table of Contents{" "}
|
||||
<FontAwesomeIcon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue