File tree 3 files changed +7
-1
lines changed
packages/gitbook/src/components
3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' gitbook ' : patch
3
+ ---
4
+
5
+ Reduce gap between subsequent header buttons
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export async function HeaderLinks({ children }: HeaderLinksProps) {
13
13
< div
14
14
className = { tcls (
15
15
styles . containerHeaderlinks ,
16
- 'grow shrink flex justify-end items-center gap-x-4 lg:gap-x-6 min-w-9 z-20' ,
16
+ 'grow shrink flex justify-end items-center gap-x-4 lg:gap-x-6 min-w-9 z-20 lg:[&>.button+.button]:-ml-2 ' ,
17
17
) }
18
18
>
19
19
{ children }
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ export function Button({
62
62
const sizeClasses = sizes [ size ] || sizes . default ;
63
63
64
64
const domClassName = tcls (
65
+ 'button' ,
65
66
'inline-block' ,
66
67
'rounded-md' ,
67
68
'straight-corners:rounded-none' ,
You can’t perform that action at this time.
0 commit comments