Skip to content

Commit faefea1

Browse files
Increase visibility of active menu option in docs page (#3339)
Fixes #608 <img width="421" height="112" alt="image" src="https://github.com/user-attachments/assets/dcd89593-002d-43c6-9db6-e43fa4d4b497" />
1 parent 7208504 commit faefea1

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎packages/app-web-docs/src/css/custom.scss‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,9 @@
2525
.pointer {
2626
cursor: pointer;
2727
}
28+
29+
// Make active menu option more visible in Docusaurus
30+
/* stylelint-disable-next-line selector-class-pattern */
31+
.navbar__item.navbar__link--active {
32+
box-shadow: inset 0 -3px 0 currentcolor;
33+
}

‎packages/app-web-docs/src/docs/contributing/adding-a-new-scope.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Some scope types are used internally by Cursorless, so they are not included in
1414
access, private.fieldAccess
1515
text fragment, textFragment
1616
disqualify, disqualifyDelimiter
17+
pair delimiter, pairDelimiter
1718
core, interior
1819
```
1920

0 commit comments

Comments
 (0)