carpentries / tnd-carpentries-working

The Carpentries new website BEFORE the Hugo theme was packaged out. Not currently maintained.
https://tnd-carpentries-website.netlify.app/
0 stars 0 forks source link

better TOC styles #106

Closed AdamChlan closed 4 months ago

netlify[bot] commented 4 months ago

Deploy Preview for tnd-carpentries-website ready!

Name Link
Latest commit 9014d67067bcf513a2674d5db88e740ac0c46fd1
Latest deploy log https://app.netlify.com/sites/tnd-carpentries-website/deploys/665f640badfc8d0008f71897
Deploy Preview https://deploy-preview-106--tnd-carpentries-website.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

maneesha commented 4 months ago

This still does not seem to work quite as expected. For example, if I am on the about page (preview), and click around the various items in the sidebar menu, the section within that page that it goes to is correct, but that item is not always styled with the arrow in the sidebar menu.

Are there other styling options that would have the same intent/impact (being able to navigate to that section of the page and having that item in the sidebar menu "highlighted") that may be easier to implement?

maneesha commented 4 months ago

This may be something you are working on, so just leaving a note here. The TOC heading now shows the selected item in parentheses. We do not want to see that - the heading should always say "Table of Contents" only.

image