Skip to content

Commit

Permalink
chore: small tweak to fix LicenseModal content
Browse files Browse the repository at this point in the history
  • Loading branch information
pongstr committed Dec 29, 2024
1 parent ba2f551 commit fc6e5c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/ConnectModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ export const ConnectModal = ({
? connectOptions(transports, onTransportCreated, open)
: noTransportsOptionsPrompt()}

<div className="text-xs opacity-40 pointer-events-none select-none">
<AppFooter />
<div className="text-xs text-center opacity-40 select-none">
<span>&copy; 2024 - The ZMK Contributors</span>
</div>
</ModalContent>
</Modal>
Expand Down
4 changes: 2 additions & 2 deletions src/misc/LicenseNoticeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ export const LicenseNoticeModal: FC<PropsWithChildren> = ({ children }) => {
{children}
</a>
<Modal open={open} onOpenChange={setOpen}>
<ModalContent className="w-[40vw]">
<ModalContent className="w-9/12 md:max-w-3xl">
<div className="flex justify-between items-start">
<p className="mr-2">
ZMK Studio is released under the open source Apache 2.0 license. A
copy of the NOTICE file from the ZMK Studio repository is included
here:
</p>
</div>
<pre className="w-96 m-4 font-mono text-xs">{NOTICE}</pre>
<pre className="w-full overflow-auto font-mono text-xs p-3 border border-base-300 rounded-lg bg-base-200">{NOTICE}</pre>
</ModalContent>
</Modal>
</>
Expand Down

0 comments on commit fc6e5c9

Please sign in to comment.