Skip to content

Commit 8c7f69d

Browse files
authored
Fix Create New Project dialog styles (#1047)
1 parent 4e8b0dd commit 8c7f69d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

web_ui/src/pages/create-project/components/name-project/name-project.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const NameProject = ({
5252
};
5353

5454
return (
55-
<SliderAnimation animationDirection={animationDirection} style={{ height: '100%' }}>
55+
<SliderAnimation animationDirection={animationDirection}>
5656
<Form marginBottom={'size-300'} onSubmit={handleSubmit}>
5757
<TextField
5858
id='project-name-input-id'

web_ui/src/pages/create-project/new-project-dialog.component.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ const NewProjectDialogInner: FC<NewProjectDialogInnerProps> = ({ onCloseDialog }
101101

102102
return (
103103
<Dialog
104-
minHeight={'52vh'}
105-
minWidth={{ base: 'auto', L: '90rem' }}
104+
minWidth={{ base: 'auto', L: '90rem', minHeight: currentStep === STEPS.NAME_PROJECT ? undefined : '52vh' }}
106105
UNSAFE_style={isLargeSize ? paddingStyle : tabletPaddingStyle}
107106
>
108107
<Heading id={`${currentStep}-title-id`}>

0 commit comments

Comments
 (0)