Skip to content

Commit 9017084

Browse files
morningmandataroaring
authored andcommitted
[opt] opt side bar arrow style (#3389)
1 parent b4d28bd commit 9017084

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/scss/components/sidebar.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
}
4646

4747
.menu__list-item-collapsible {
48-
.menu__link--sublist-caret {
48+
/* Use the same link :after icon for all collapsible categories */
49+
a.menu__link {
4950
&:after {
5051
background-size: 1.5rem;
5152

@@ -56,11 +57,11 @@
5657
}
5758
}
5859

60+
/* Hide CollapseButton's own icon, keep only the clickable area */
5961
.menu__caret {
6062
&::before {
61-
content: '';
62-
background: url('@site/static/images/chevron-down.svg') no-repeat center;
63-
background-size: 1.5rem;
63+
content: none;
64+
background: none;
6465
}
6566

6667
&:hover {

0 commit comments

Comments
 (0)