Skip to content

Commit 1c51ea7

Browse files
committed
fix: align project modal to top and match folder description color
Top-align the project modal overlay so it no longer jumps as the form height changes, and drop the dimmer color override on the Open local folder helper text so it matches the repository URL field description.
1 parent 8f471ff commit 1c51ea7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/insomnia/src/ui/components/modals/project-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const ProjectModal = ({
5858
if (!open) requestClose();
5959
}}
6060
isDismissable={false}
61-
className="fixed top-0 left-0 z-10 flex h-(--visual-viewport-height) w-full items-center justify-center bg-black/30"
61+
className="fixed top-0 left-0 z-10 flex h-(--visual-viewport-height) w-full items-start justify-center bg-black/30 pt-(--padding-xl)"
6262
>
6363
<Modal
6464
ref={modalRef}

packages/insomnia/src/ui/components/project/project-create-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export const ProjectCreateForm: FC<Props> = ({
244244
) : (
245245
<div className="flex flex-col gap-2 px-0.5">
246246
<Label className="text-sm text-(--color-font)">Folder</Label>
247-
<p className="text-xs text-(--hl-lg)">
247+
<p className="text-xs">
248248
Insomnia will open this folder as a Git project. If it isn't a git repository yet, one will be
249249
initialized.
250250
</p>

0 commit comments

Comments
 (0)