From 63b1ad019b4b6fd194b426e9ed392545e3caed20 Mon Sep 17 00:00:00 2001 From: mlhiter <3076438032@qq.com> Date: Mon, 13 Jan 2025 17:51:48 +0800 Subject: [PATCH] style: style minH perf --- .../components/modals/JetbrainsGuideModal.tsx | 17 ++++++++--------- .../components/modals/SshConnectModal.tsx | 19 +++++++++---------- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/frontend/providers/devbox/components/modals/JetbrainsGuideModal.tsx b/frontend/providers/devbox/components/modals/JetbrainsGuideModal.tsx index b99d24b9894..9f086873174 100644 --- a/frontend/providers/devbox/components/modals/JetbrainsGuideModal.tsx +++ b/frontend/providers/devbox/components/modals/JetbrainsGuideModal.tsx @@ -128,16 +128,15 @@ const JetBrainsGuideModal = ({ return ( - {} : onClose} lockFocusAcrossFrames={false}> + {} : onClose} + lockFocusAcrossFrames={false} + isCentered + scrollBehavior={'inside'} + > - + {t('use_jetbrains')} diff --git a/frontend/providers/devbox/components/modals/SshConnectModal.tsx b/frontend/providers/devbox/components/modals/SshConnectModal.tsx index deab3d5fdf5..c8ebb890fd7 100644 --- a/frontend/providers/devbox/components/modals/SshConnectModal.tsx +++ b/frontend/providers/devbox/components/modals/SshConnectModal.tsx @@ -119,17 +119,16 @@ const SshConnectModal = ({ return ( - + - + {t('jetbrains_guide_config_ssh')}