Skip to content

Commit 2e0d706

Browse files
authored
Fix corner radius of active section on "Line" sidebar style (#3601)
1 parent 7fefe49 commit 2e0d706

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changeset/chilled-files-unite.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"gitbook": patch
3+
---
4+
5+
Fix corner radius of active section on "Line" sidebar style

packages/gitbook/src/components/PageAside/AsideSectionHighlight.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const AsideSectionHighlight = React.memo(
2525
'rounded-md',
2626
'straight-corners:rounded-none',
2727
'circular-corners:rounded-2xl',
28-
'sidebar-list-line:rounded-l-none',
28+
'sidebar-list-line:rounded-l-none!',
2929

3030
'sidebar-list-pill:bg-primary',
3131
'[html.theme-muted.sidebar-list-pill_&]:bg-primary-hover',

packages/gitbook/src/components/PageAside/ScrollSectionsList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export function ScrollSectionsList({ sections }: { sections: DocumentSection[] }
9595
'rounded-md',
9696
'straight-corners:rounded-none',
9797
'circular-corners:rounded-2xl',
98-
'sidebar-list-line:rounded-l-none',
98+
'sidebar-list-line:rounded-l-none!',
9999

100100
'hover:bg-tint-hover',
101101
'theme-gradient:hover:bg-tint-12/1',

0 commit comments

Comments
 (0)