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 49710909b94 [fix] fix category arrow size (#3392)
49710909b94 is described below
commit 49710909b94277735fbc7743aded86b344b79e7b
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Thu Feb 12 08:44:09 2026 +0800
[fix] fix category arrow size (#3392)
---
src/scss/components/sidebar.scss | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/scss/components/sidebar.scss b/src/scss/components/sidebar.scss
index 244f5dd131a..98dd7dda4b3 100644
--- a/src/scss/components/sidebar.scss
+++ b/src/scss/components/sidebar.scss
@@ -45,8 +45,8 @@
}
.menu__list-item-collapsible {
- /* Use the same link :after icon for all collapsible categories */
- a.menu__link {
+ /* For categories without a separate CollapseButton (no href), size
the link :after icon */
+ .menu__link--sublist-caret {
&:after {
background-size: 1.5rem;
@@ -57,11 +57,12 @@
}
}
- /* Hide CollapseButton's own icon, keep only the clickable area */
+ /* For categories with href + items, use the same chevron icon on the
CollapseButton */
.menu__caret {
&::before {
- content: none;
- background: none;
+ content: '';
+ background: url('@site/static/images/chevron-down.svg')
no-repeat center;
+ background-size: 1.5rem;
}
&:hover {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]