added advanced configuration header styles (#4982)

main
Kirill Lakhov 3 years ago committed by GitHub
parent 0292433028
commit 5a8b5dfc63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -283,7 +283,7 @@ export default function CreateProjectContent(): JSX.Element {
/> />
</Col> </Col>
<Col span={24}> <Col span={24}>
<Collapse> <Collapse className='cvat-advanced-configuration-wrapper'>
<Collapse.Panel key='1' header={<Text className='cvat-title'>Advanced configuration</Text>}> <Collapse.Panel key='1' header={<Text className='cvat-title'>Advanced configuration</Text>}>
<AdvancedConfigurationForm <AdvancedConfigurationForm
formRef={advancedFormRef} formRef={advancedFormRef}

@ -803,7 +803,7 @@ class CreateTaskContent extends React.PureComponent<Props & RouteComponentProps,
} = this.state; } = this.state;
return ( return (
<Col span={24}> <Col span={24}>
<Collapse> <Collapse className='cvat-advanced-configuration-wrapper'>
<Collapse.Panel key='1' header={<Text className='cvat-title'>Advanced configuration</Text>}> <Collapse.Panel key='1' header={<Text className='cvat-title'>Advanced configuration</Text>}>
<AdvancedConfigurationForm <AdvancedConfigurationForm
dumpers={dumpers} dumpers={dumpers}

@ -96,3 +96,13 @@ hr {
.cvat-divider { .cvat-divider {
margin: $grid-unit-size * 0.5 0; margin: $grid-unit-size * 0.5 0;
} }
.cvat-advanced-configuration-wrapper {
.ant-collapse-header {
align-items: center !important;
}
.cvat-title {
padding-top: 0;
}
}

Loading…
Cancel
Save