Fix corner radius of active section on "Line" sidebar style (#3601)

This commit is contained in:
Zeno Kapitein
2025-08-27 13:15:07 +02:00
committed by GitHub
parent 7fefe4919c
commit 2e0d706d43
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Fix corner radius of active section on "Line" sidebar style
@@ -25,7 +25,7 @@ export const AsideSectionHighlight = React.memo(
'rounded-md',
'straight-corners:rounded-none',
'circular-corners:rounded-2xl',
'sidebar-list-line:rounded-l-none',
'sidebar-list-line:rounded-l-none!',
'sidebar-list-pill:bg-primary',
'[html.theme-muted.sidebar-list-pill_&]:bg-primary-hover',
@@ -95,7 +95,7 @@ export function ScrollSectionsList({ sections }: { sections: DocumentSection[] }
'rounded-md',
'straight-corners:rounded-none',
'circular-corners:rounded-2xl',
'sidebar-list-line:rounded-l-none',
'sidebar-list-line:rounded-l-none!',
'hover:bg-tint-hover',
'theme-gradient:hover:bg-tint-12/1',