Skip to content

Commit

Permalink
fix: style adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
mlhiter committed Jan 13, 2025
1 parent 84cc497 commit e77c8ef
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions frontend/providers/devbox/components/modals/SshConnectModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,20 +125,12 @@ const SshConnectModal = ({
top={'5%'}
maxWidth={'800px'}
w={'700px'}
h={activeStep === stepEnum.OneClick ? '60%' : '80%'}
h={'80%'}
transition={'height 0.2s ease-in-out'}
position={'relative'}>
<ModalHeader pl={10}>{t('jetbrains_guide_config_ssh')}</ModalHeader>
<ModalCloseButton top={'10px'} right={'10px'} />
<ModalBody
pb={6}
overflowY={'auto'}
sx={{
'&::-webkit-scrollbar': {
width: '0',
background: 'transparent'
}
}}>
<ModalBody pb={6} overflowY={'auto'}>
<Tabs
onChange={(index) => setActiveTab(index)}
mb={4}
Expand Down Expand Up @@ -172,7 +164,7 @@ const SshConnectModal = ({
borderColor={'grayModern.100'}>
<StepStatus incomplete={<StepNumber />} />
</StepIndicator>
<Flex flexDirection={'column'} gap={4} mt={1} ml={2} mb={5} flex={1}>
<Flex flexDirection={'column'} gap={12} mt={1} ml={2} mb={5} flex={1}>
<Box
fontSize={'14px'}
color={'grayModern.900'}
Expand Down Expand Up @@ -256,7 +248,7 @@ const SshConnectModal = ({
borderColor={'grayModern.100'}>
<StepStatus incomplete={<StepNumber />} />
</StepIndicator>
<Flex mt={1} ml={2} mb={5} flexDirection={'column'} gap={4} flex={1}>
<Flex mt={1} ml={2} mb={5} flexDirection={'column'} gap={12} flex={1}>
<Box fontSize={'14px'}>{t('jetbrains_guide_command')}</Box>
<ScriptCode
oneLine={true}
Expand All @@ -279,7 +271,7 @@ const SshConnectModal = ({
/>
</Step>
</Stepper>
<Box position={'relative'} w={'100%'} h={'30px'} my={4}>
<Box position={'relative'} w={'100%'} h={'30px'} mt={8}>
<Button
w={'100%'}
bg={'white'}
Expand Down

0 comments on commit e77c8ef

Please sign in to comment.