Skip to content

fix(toc): apply highlighting to mobile design#1472

Merged
erisu merged 1 commit intomasterfrom
pr-fix-css-highlighting-on-dropwdown
Feb 18, 2026
Merged

fix(toc): apply highlighting to mobile design#1472
erisu merged 1 commit intomasterfrom
pr-fix-css-highlighting-on-dropwdown

Conversation

@GitToTheHub
Copy link
Contributor

@GitToTheHub GitToTheHub commented Feb 10, 2026

Motivation and Context

Mobile design's TOC does not highlight which page is currently being viewed.
The goal of this PR is to apply highlighting to TOC for mobile design.

Description

  • Moved the CSS class .this-page higher up in scope so it is available for mobile design.

Testing

Checklist

  • I've run the tests to see all new and existing tests pass
  • I added automated test coverage as appropriate for this change
  • Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
  • If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
  • I've updated the documentation if necessary

- Make css styling for `this-page` more global
@GitToTheHub GitToTheHub requested a review from erisu February 16, 2026 08:57
@erisu erisu changed the title fix(mobile): css highlighting was only be done for desktop fix(toc): apply highlighting to mobile design Feb 18, 2026
Copy link
Member

@erisu erisu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and confirmed that highlighting is also applied to mobile TOC

@erisu erisu merged commit 97d5f65 into master Feb 18, 2026
1 check passed
@erisu erisu deleted the pr-fix-css-highlighting-on-dropwdown branch February 18, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants