cue-lang / cue

The home of the CUE language! Validate and define text-based and dynamic configuration
https://cuelang.org
Apache License 2.0
5.16k stars 297 forks source link

cuelang.org: headings inside info blocks have a link icon on hover #3279

Open jpluscplusm opened 4 months ago

jpluscplusm commented 4 months ago

What page were you looking at?

https://cuelang.org/docs/introduction/installation/

What version of the site were you looking at?

https://github.com/cue-lang/cuelang.org/commit/1616c6e31d146171f49e6c589f6eaae157563a90

What did you do?

I moved my mouse cursor over the "Try out CUE in your browser" header.

What did you expect?

Nothing to change on the page.

What did you see instead?

The standard H1/2/3/4 link icon appeared, to the left of the text, overlapping with the info icon:

image

NB I'm pretty sure this occurs with all the info block variants: info, warning and caution.

JorindeUsMedia commented 1 month ago

Todo: Show link icon only for headings in the content itself: not the headings in shortcodes.

Estimate: 30 min - 1 hour