nuxt-themes / typography

Beautifully customizable Prose components for Nuxt Content.
https://typography.nuxt.space
MIT License
169 stars 8 forks source link

fix: anchor icon alignment in headings #3

Closed bdrtsky closed 1 year ago

bdrtsky commented 1 year ago

closes #1

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
typography ✅ Ready (Inspect) Visit Preview Nov 7, 2022 at 6:35PM (UTC)
atinux commented 1 year ago

Could we instead, have the link only on the icon @bdrtsky ?

This way we can select the text of the title, see on VitePress: https://volta.s3.fr-par.scw.cloud/Clean_Shot_2022_11_07_at_19_40_27_b7afbdc1ea.mp4

It is also same behavior on TailwindCSS docs.

Ours feel buggy because we cannot select somehow: https://volta.s3.fr-par.scw.cloud/Clean_Shot_2022_11_07_at_19_39_44_4f08efea2e.mp4

bdrtsky commented 1 year ago

This is how Content rendering markup, I can't do anything here. I actually prefer this way of having heading links.

bdrtsky commented 1 year ago

And folks that I prefer much much more in terms of UI, also doing it this way

https://nextjs.org/docs/getting-started https://stitches.dev/docs/installation#render-it

atinux commented 1 year ago

Stitches is best indeed, they can have the svg clickable.

But definitely great enough to merge