Skip to content

Commit 2ce59d7

Browse files
authored
Fix whitespace added with image (#2594)
1 parent 3b3d6e2 commit 2ce59d7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/stupid-bikes-eat.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 - whitespace added to site section tabs with icons.

packages/gitbook/src/components/SiteSectionTabs/SiteSectionTabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const Tab = React.forwardRef<
150150
role="tab"
151151
href={href}
152152
>
153-
<span ref={ref} className={tcls('inline-flex gap-2 items-center w-full truncate')}>
153+
<span ref={ref} className={tcls('flex gap-2 items-center w-full truncate')}>
154154
{icon}
155155
{label}
156156
</span>

0 commit comments

Comments
 (0)