Skip to content

Commit 7e1b9dd

Browse files
committed
update styles
1 parent 8cc580f commit 7e1b9dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export function DynamicTabs(
141141
}, [hash, tabs, onSelectTab]);
142142

143143
return (
144-
<div className={tcls(hashLinkButtonWrapperStyles, 'w-full', style)}>
144+
<div className={tcls(hashLinkButtonWrapperStyles, 'flex-1', style)}>
145145
<HashLinkButton
146146
id={getTabButtonId(active.id)}
147147
block={block}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function Tabs(props: BlockProps<DocumentBlockTabs>) {
2626
ancestorBlocks={[...ancestorBlocks, block, tab]}
2727
context={context}
2828
blockStyle={tcls('flip-heading-hash')}
29-
style={tcls(block.data?.fullWidth ? 'w-full' : null, 'space-y-4')}
29+
style={tcls('w-full', 'space-y-4')}
3030
/>
3131
);
3232
});

0 commit comments

Comments
 (0)