Skip to content

Commit 0600fe0

Browse files
committed
fix(header): use explicit popover="auto" instead of boolean attribute
Hono JSX renders bare `popover` as `popover="true"` which relies on the invalid-value-default behavior. Explicit "auto" is clearer.
1 parent 3e675a2 commit 0600fe0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/design/components/header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function Header({ config }: { config: SiteConfig }) {
2727
</svg>
2828
</button>
2929
<nav aria-label="Primary">
30-
<div id="mobile-nav" popover>
30+
<div id="mobile-nav" popover="auto">
3131
<ul>
3232
<li>
3333
<a href={url('/work/', config.basePath)}>Work</a>

0 commit comments

Comments
 (0)