Skip to content

Commit c49cbb1

Browse files
committed
Fix dropdown accessibility
1 parent ac5afb0 commit c49cbb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/gitbook/src/components/Header/Dropdown.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export function Dropdown<E extends HTMLElement>(props: {
4343
'absolute',
4444
'top-full',
4545
'left-0',
46-
'mt-2',
4746
'origin-top-left',
4847
'invisible',
4948
'transition-opacity',
@@ -53,9 +52,10 @@ export function Dropdown<E extends HTMLElement>(props: {
5352
className
5453
)}
5554
>
56-
<div className="fixed z-50 w-52">
55+
<div className='fixed z-50 w-52'>
5756
<div
5857
className={tcls(
58+
'mt-2',
5959
'w-full',
6060
'bg-tint-base',
6161
'rounded-lg',

0 commit comments

Comments
 (0)