Skip to content

Commit 032fbc7

Browse files
committed
update
1 parent 7d81392 commit 032fbc7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/gitbook/src/components/DocumentView/Tabs/DynamicTabs.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,11 @@ export function DynamicTabs(
141141
}, [hash, tabs, onSelectTab]);
142142

143143
return (
144-
<div className={hashLinkButtonWrapperStyles}>
144+
<div className={tcls(hashLinkButtonWrapperStyles, 'flex', style)}>
145145
<HashLinkButton
146146
id={getTabButtonId(active.id)}
147147
block={block}
148-
className={tcls('absolute', block.data?.fullWidth ? '-left-6' : 'left-6')}
148+
className={tcls('absolute', '-left-6')}
149149
/>
150150

151151
<div
@@ -157,8 +157,7 @@ export function DynamicTabs(
157157
'ring-tint-subtle',
158158
'flex',
159159
'overflow-hidden',
160-
'flex-col',
161-
style
160+
'flex-col'
162161
)}
163162
>
164163
<div

0 commit comments

Comments
 (0)