🎨 style: optimize heti css styles

This commit is contained in:
radishzzz 2025-04-21 19:18:45 +01:00
parent 85a629b4ee
commit 5408676c64
23 changed files with 63 additions and 130 deletions

View file

@ -13,8 +13,7 @@ const currentUI = ui[currentLang as keyof typeof ui]
const { headings = [] } = Astro.props
const filteredHeadings = headings.filter(heading =>
heading.depth >= 2
&& heading.depth <= 4
&& heading.text !== 'Footnotes',
&& heading.depth <= 4,
)
---