Skip to content

Commit

Permalink
add better visual affordance to special sidebar refs (#5490)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaffrepaul authored Sep 22, 2023
1 parent e86da6c commit 7b16b28
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/api/actions/actionability-guide.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Actionability Guide
sidebar_position: 10
sidebar_class_name: sidebar-guide-ref
---

import { Redirect } from '@docusaurus/router'
Expand Down
1 change: 1 addition & 0 deletions docs/api/assertions/assertions-reference.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Assertions Reference
sidebar_position: 10
sidebar_class_name: sidebar-guide-ref
---

import { Redirect } from '@docusaurus/router'
Expand Down
5 changes: 5 additions & 0 deletions src/css/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@
.menu__link--sublist:after {
background: var(--ifm-menu-link-sublist-icon) 50%/1.7rem 1.7rem;
}

// helps delineate different refs in sidebar, particularly in API section
.theme-doc-sidebar-item-link.theme-doc-sidebar-item-link-level-2.menu__list-item.sidebar-guide-ref {
font-weight: 600;
}

0 comments on commit 7b16b28

Please sign in to comment.