Skip to content

Commit 38c076e

Browse files
committed
Fix rounded corners on list-line TOC style
On the `line` sidebar style, TOC items would round their corners unnecessarily.
1 parent 8761cee commit 38c076e

File tree

1 file changed

+1
-1
lines changed
  • packages/gitbook/src/components/TableOfContents

1 file changed

+1
-1
lines changed

packages/gitbook/src/components/TableOfContents/styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const ToggleableLinkItemStyles = [
2525
'text-balance font-normal text-sm text-tint-strong/7 hover:bg-tint-hover hover:text-tint-strong contrast-more:text-tint-strong',
2626
'contrast-more:hover:text-tint-strong contrast-more:hover:ring-1 contrast-more:hover:ring-tint-12',
2727
'before:contents[] before:-left-px before:absolute before:inset-y-0',
28-
'sidebar-list-line:rounded-l-none sidebar-list-line:before:w-px [&+div_a]:sidebar-list-default:rounded-l-none [&+div_a]:pl-5 [&+div_a]:sidebar-list-default:before:w-px',
28+
'sidebar-list-line:rounded-l-none! sidebar-list-line:before:w-px [&+div_a]:sidebar-list-default:rounded-l-none [&+div_a]:pl-5 [&+div_a]:sidebar-list-default:before:w-px',
2929
];
3030

3131
export const ToggleableLinkItemActiveStyles = [

0 commit comments

Comments
 (0)