Skip to content

Commit 87bc602

Browse files
committed
Add another style to shrink arrow in sidebar nav
Add a style to make the arrow in the sidebar navigation smaller. This is necessary because making only some categories clickable indexes causes the icon to revert to the default size.
1 parent 409e3ae commit 87bc602

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/css/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,17 @@
4141
.menu {
4242
font-size: 11pt;
4343
}
44+
4445
/* Make the arrow in the sidebar navigation smaller (default font size is 12pt). */
4546
.menu__link--sublist-caret:after {
4647
background: var(--ifm-menu-link-sublist-icon) 50% / 1.25rem 1.25rem;
4748
}
4849

50+
/* Make the arrow in the sidebar navigation smaller (default font size is 12pt). Added this because making only some categories clickable indexes causes the icon to revert to the default size. */
51+
.clean-btn:before {
52+
background: var(--ifm-menu-link-sublist-icon) 50% / 1.25rem 1.25rem;
53+
}
54+
4955
.version-out-of-support, .version-out-of-support a {
5056
background-color: #9CA3AF;
5157
color: #1c1e21;

0 commit comments

Comments
 (0)