Skip to content
This repository has been archived by the owner on Dec 31, 2021. It is now read-only.

Bug: Table of contents text width changes on hover #54

Open
fuglede opened this issue Nov 27, 2019 · 0 comments
Open

Bug: Table of contents text width changes on hover #54

fuglede opened this issue Nov 27, 2019 · 0 comments

Comments

@fuglede
Copy link

fuglede commented Nov 27, 2019

When hovering the cursor above a link to a subpage in the table of contents in the sidebar on the optimization tutorial on the demo site, the width of the text appears to change, which causes the text to wrap differently. This change in width in turn can mean that the link is no longer hovered, which makes it very finicky to actually click the link. In particular, this happens with the link to subsection 5.1.

On a similar note, and this is really just a matter of taste, I'm not personally a huge fan of the changes in colouring that happen when hovering: Changing the background color doesn't work well with the inline code blocks, and the margin-less dark blue pillars that are added on hover also don't seem to add much. I would prefer if the style change was limited to what's done on the existing site: The text being underlined with a slight change in tint.

Screenshot from 2019-11-27 11-34-53

@fuglede fuglede changed the title Bug: Table of contents header width changes on hover Bug: Table of contents text width changes on hover Nov 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant