Skip to content

Commit 0f35401

Browse files
committed
fix: issues
1 parent dfee2e9 commit 0f35401

File tree

8 files changed

+88
-88
lines changed

8 files changed

+88
-88
lines changed

packages/insomnia/src/ui/components/mcp/event-view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export const MessageEventView = ({ event }: Props) => {
209209
</Dropdown>
210210
{isElicitationRequest && !isServerRequestResponded && (
211211
<Button
212-
className={`mx-2 mt-2 px-2 text-(--color-font) transition-colors duration-300 outline-none hover:bg-(--hl-sm) hover:text-(--color-font) focus:bg-(--hl-sm) ${
212+
className={`mx-2 mt-2 px-2 text-(--color-font) outline-hidden transition-colors duration-300 hover:bg-(--hl-sm) hover:text-(--color-font) focus:bg-(--hl-sm) ${
213213
viewMode === 'form' ? 'bg-(--hl-xs) text-(--color-font)' : ''
214214
}`}
215215
onPress={() => setViewMode('form')}

packages/insomnia/src/ui/components/modals/mcp-certificates-modal.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,24 @@ export const MCPCertificatesModal = ({ onClose }: { onClose: () => void }) => {
3333
onOpenChange={isOpen => {
3434
!isOpen && onClose();
3535
}}
36-
className="fixed left-0 top-0 z-10 flex h-(--visual-viewport-height) w-full items-center justify-center bg-black/30"
36+
className="fixed top-0 left-0 z-10 flex h-(--visual-viewport-height) w-full items-center justify-center bg-black/30"
3737
>
3838
<Modal className="flex w-full max-w-3xl flex-col rounded-md border border-solid border-(--hl-sm) bg-(--color-bg) p-(--padding-lg) text-(--color-font)">
39-
<Dialog className="flex h-full flex-1 flex-col overflow-hidden outline-none">
39+
<Dialog className="flex h-full flex-1 flex-col overflow-hidden outline-hidden">
4040
{({ close }) => (
4141
<div className="flex h-full flex-1 flex-col gap-4 overflow-hidden">
4242
<div className="flex items-center justify-between gap-2">
4343
<Heading slot="title" className="flex items-center gap-2 text-2xl">
4444
Manage Certificates
4545
</Heading>
4646
<Button
47-
className="flex aspect-square h-6 shrink-0 items-center justify-center rounded-sm text-sm text-(--color-font) ring-1 ring-transparent transition-all hover:bg-(--hl-xs) focus:ring-inset focus:ring-(--hl-md) aria-pressed:bg-(--hl-sm)"
47+
className="flex aspect-square h-6 shrink-0 items-center justify-center rounded-sm text-sm text-(--color-font) ring-1 ring-transparent transition-all hover:bg-(--hl-xs) focus:ring-(--hl-md) focus:ring-inset aria-pressed:bg-(--hl-sm)"
4848
onPress={close}
4949
>
5050
<Icon icon="x" />
5151
</Button>
5252
</div>
53-
<div className="flex w-full flex-1 basis-96 select-none flex-col gap-6 overflow-hidden overflow-y-auto rounded">
53+
<div className="flex w-full flex-1 basis-96 flex-col gap-6 overflow-hidden overflow-y-auto rounded select-none">
5454
<CACertificate caCertificate={caCertificate} />
5555

5656
<div className="flex flex-col gap-4">
@@ -89,7 +89,7 @@ export const MCPCertificatesModal = ({ onClose }: { onClose: () => void }) => {
8989
<div className="flex items-center justify-end gap-2">
9090
<Button
9191
onPress={close}
92-
className="rounded-sm border border-solid border-(--hl-md) px-3 py-2 text-(--color-font) transition-colors hover:bg-opacity-90 hover:no-underline"
92+
className="hover:bg-opacity-90 rounded-sm border border-solid border-(--hl-md) px-3 py-2 text-(--color-font) transition-colors hover:no-underline"
9393
>
9494
Done
9595
</Button>

packages/insomnia/src/ui/components/modals/upgrade-plan-modal.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const UpgradePlanModal = () => {
7575
onOpenChange={isOpen => {
7676
!isOpen && handleClose();
7777
}}
78-
className="fixed left-0 top-0 z-10 flex h-(--visual-viewport-height) w-full items-center justify-center bg-black/30"
78+
className="fixed top-0 left-0 z-10 flex h-(--visual-viewport-height) w-full items-center justify-center bg-black/30"
7979
>
8080
<Modal
8181
onOpenChange={isOpen => {
@@ -93,7 +93,7 @@ export const UpgradePlanModal = () => {
9393
Welcome to Insomnia, {firstName || email} 🎉
9494
</Heading>
9595
<Button
96-
className="ml-auto flex h-6 shrink-0 items-center justify-center rounded-xs text-sm text-(--color-font) ring-1 ring-transparent transition-all focus:ring-inset focus:ring-(--hl-md) aria-pressed:bg-(--hl-sm)"
96+
className="ml-auto flex h-6 shrink-0 items-center justify-center rounded-xs text-sm text-(--color-font) ring-1 ring-transparent transition-all focus:ring-(--hl-md) focus:ring-inset aria-pressed:bg-(--hl-sm)"
9797
onPress={() => close()}
9898
>
9999
<Icon icon="x" />
@@ -111,7 +111,7 @@ export const UpgradePlanModal = () => {
111111
<Icon icon="check-circle" className="h-[16px] text-(--color-surprise)" />
112112
<span className="font-semibold">User Governance</span>
113113
</div>
114-
<span className="ml-[24px] mt-1 text-sm">
114+
<span className="mt-1 ml-[24px] text-sm">
115115
SSO, SCIM, RBAC and Teams let you control who can access what
116116
</span>
117117
</li>
@@ -120,7 +120,7 @@ export const UpgradePlanModal = () => {
120120
<Icon icon="check-circle" className="h-[16px] text-(--color-surprise)" />
121121
<span className="font-semibold">Increased Storage & Security</span>
122122
</div>
123-
<span className="ml-[24px] mt-1 text-sm">
123+
<span className="mt-1 ml-[24px] text-sm">
124124
Mandate Git, Cloud or Local project storage, plus E2EE
125125
</span>
126126
</li>
@@ -129,7 +129,7 @@ export const UpgradePlanModal = () => {
129129
<Icon icon="check-circle" className="h-[16px] text-(--color-surprise)" />
130130
<span className="font-semibold">World Class Support</span>
131131
</div>
132-
<span className="ml-[24px] mt-1 text-sm">
132+
<span className="mt-1 ml-[24px] text-sm">
133133
A dedicated CSM that understands you, support access, and optional pro services to start quickly
134134
</span>
135135
</li>

packages/insomnia/src/ui/components/modals/workspace-certificates-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ export const CertificatesModal = ({ onClose }: { onClose: () => void }) => {
438438
}}
439439
className="flex h-[calc(100%-var(--padding-xl))] w-full max-w-3xl flex-col rounded-md border border-solid border-(--hl-sm) bg-(--color-bg) p-(--padding-lg) text-(--color-font)"
440440
>
441-
<Dialog className="flex h-full flex-1 flex-col overflow-hidden outline-none">
441+
<Dialog className="flex h-full flex-1 flex-col overflow-hidden outline-hidden">
442442
{({ close }) => (
443443
<div className="flex h-full flex-1 flex-col gap-4 overflow-hidden">
444444
<div className="flex items-center justify-between gap-2">

0 commit comments

Comments
 (0)