Skip to content

Commit 6c5db25

Browse files
[#694] Fix segment selector position on select goal section
1 parent b182bcd commit 6c5db25

File tree

2 files changed

+19
-13
lines changed

2 files changed

+19
-13
lines changed

frontend/src/pages/cases/components/ExploreChangeToCloseTheGap.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,18 @@ const ExploreChangeToCloseTheGap = () => {
1414
<Row gutter={[24, 24]}>
1515
<Col span={24}>
1616
<Card className="card-content-wrapper select-the-goal-container">
17-
<Row gutter={[20, 20]}>
17+
<Row gutter={[20, 20]} align="bottom">
18+
<Col span={24}>
19+
<Row gutter={[20, 20]}>
20+
<Col span={16}>
21+
<h4>Select the segment for which you want to explore.</h4>
22+
<SegmentSelector
23+
selectedSegment={selectedSegment}
24+
setSelectedSegment={setSelectedSegment}
25+
/>
26+
</Col>
27+
</Row>
28+
</Col>
1829
<Col span={16}>
1930
<h3>Select the Goal:</h3>
2031
<p>
@@ -31,17 +42,6 @@ const ExploreChangeToCloseTheGap = () => {
3142
buttonView={true}
3243
/>
3344
</Col>
34-
<Col span={24}>
35-
<Row gutter={[20, 20]}>
36-
<Col span={16}>
37-
<p>Select the segment for which you want to explore.</p>
38-
<SegmentSelector
39-
selectedSegment={selectedSegment}
40-
setSelectedSegment={setSelectedSegment}
41-
/>
42-
</Col>
43-
</Row>
44-
</Col>
4545
</Row>
4646
</Card>
4747
</Col>

frontend/src/pages/cases/steps/steps.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,9 +761,15 @@
761761
margin: 0;
762762
color: $primary-color;
763763
margin-bottom: 14px;
764+
font-size: 16px;
764765
}
765-
p {
766+
p,
767+
h4 {
766768
margin: 0;
769+
font-weight: normal;
770+
}
771+
h4 {
772+
margin-bottom: 8px;
767773
}
768774

769775
.ant-space,

0 commit comments

Comments
 (0)