This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new f61cfe96719 [opt] opt side bar arrow style (#3389)
f61cfe96719 is described below
commit f61cfe967197b845f8f380b9f76e2063dc8cef65
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Wed Feb 11 17:59:20 2026 +0800
[opt] opt side bar arrow style (#3389)
---
src/scss/components/sidebar.scss | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/scss/components/sidebar.scss b/src/scss/components/sidebar.scss
index 7cf77e9522e..244f5dd131a 100644
--- a/src/scss/components/sidebar.scss
+++ b/src/scss/components/sidebar.scss
@@ -45,7 +45,8 @@
}
.menu__list-item-collapsible {
- .menu__link--sublist-caret {
+ /* Use the same link :after icon for all collapsible categories */
+ a.menu__link {
&:after {
background-size: 1.5rem;
@@ -56,11 +57,11 @@
}
}
+ /* Hide CollapseButton's own icon, keep only the clickable area */
.menu__caret {
&::before {
- content: '';
- background: url('@site/static/images/chevron-down.svg')
no-repeat center;
- background-size: 1.5rem;
+ content: none;
+ background: none;
}
&:hover {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]