chore: upgrade tailwindcss

up to v4
This commit is contained in:
xfy
2025-05-19 15:01:20 +08:00
parent 7e9a7b616d
commit dd8b20b015
23 changed files with 36 additions and 32 deletions

View File

@ -58,12 +58,12 @@ const PostToc = ({ toc, tocLength }: Props) => {
</div>
<div className="toc text-lg">
<ul className="!pl-[unset]">
<ul className="pl-[unset]!">
{toc?.map((h) => (
<Fragment key={h.link}>
<TocItem item={h} />
{h.children.map((child) => (
<ul className="!pl-4" key={child.link}>
<ul className="pl-4!" key={child.link}>
<TocItem item={child} />
</ul>
))}