Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions web/app/@left/(.)changelog/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ export default function Page() {
}
}}
>
<DialogContent
initialFocus={() => null}
className={cn(...dialogProse, "max-h-[calc(100vh-100px)] w-157")}
>
<DialogContent initialFocus={() => null} className={cn(...dialogProse, "max-h-[calc(100vh-100px)] w-157")}>
<Changelog />
</DialogContent>
</Dialog>
Expand Down
6 changes: 1 addition & 5 deletions web/app/@left/(.)privacy-policy/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ export default function Page() {
}
}}
>
<DialogContent
// There's nothing here to focus except for the contact me form, which I don't really want to focus, so I'm preventing autofocus for this dialogue.
initialFocus={() => null}
className={cn(...dialogProse, "w-157")}
>
<DialogContent initialFocus={() => null} className={cn(...dialogProse, "w-157")}>
<PrivacyPolicy />
</DialogContent>
</Dialog>
Expand Down
6 changes: 1 addition & 5 deletions web/app/@left/(.)terms-of-service/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ export default function Page() {
}
}}
>
<DialogContent
// There's nothing here to focus except for the contact me form, which I don't really want to focus, so I'm preventing autofocus for this dialogue.
initialFocus={() => null}
className={cn(...dialogProse, "w-157")}
>
<DialogContent initialFocus={() => null} className={cn(...dialogProse, "w-157")}>
<TermsOfService />
</DialogContent>
</Dialog>
Expand Down
2 changes: 1 addition & 1 deletion web/components/intro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function Intro({ defaultOpen }: { defaultOpen: boolean }) {
}
}}
>
<DialogContent className={cn(...dialogProse, "w-157 pt-2")}>
<DialogContent initialFocus={() => null} className={cn(...dialogProse, "w-157 pt-2")}>
<About />
</DialogContent>
</Dialog>
Expand Down
Loading