Skip to content

Commit

Permalink
added advanced configuration header styles (#4982)
Browse files Browse the repository at this point in the history
  • Loading branch information
klakhov authored Sep 21, 2022
1 parent 0292433 commit 5a8b5df
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export default function CreateProjectContent(): JSX.Element {
/>
</Col>
<Col span={24}>
<Collapse>
<Collapse className='cvat-advanced-configuration-wrapper'>
<Collapse.Panel key='1' header={<Text className='cvat-title'>Advanced configuration</Text>}>
<AdvancedConfigurationForm
formRef={advancedFormRef}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ class CreateTaskContent extends React.PureComponent<Props & RouteComponentProps,
} = this.state;
return (
<Col span={24}>
<Collapse>
<Collapse className='cvat-advanced-configuration-wrapper'>
<Collapse.Panel key='1' header={<Text className='cvat-title'>Advanced configuration</Text>}>
<AdvancedConfigurationForm
dumpers={dumpers}
Expand Down
10 changes: 10 additions & 0 deletions cvat-ui/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,13 @@ hr {
.cvat-divider {
margin: $grid-unit-size * 0.5 0;
}

.cvat-advanced-configuration-wrapper {
.ant-collapse-header {
align-items: center !important;
}

.cvat-title {
padding-top: 0;
}
}

0 comments on commit 5a8b5df

Please sign in to comment.