Skip to content

Commit bc2c16a

Browse files
authored
Merge pull request #3307 from PrakashDurlabhji/issue_3206
issue #3206 fix
2 parents 64aabb7 + ca44a54 commit bc2c16a

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

src/components/ProjectStatus/ProjectStatus.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@
4545
}
4646
}
4747

48+
.dropdown-wrap {
49+
.status-header {
50+
&.status-active {
51+
&.editable {
52+
display: flex;
53+
justify-content: center;
54+
}
55+
}
56+
}
57+
}
58+
4859
.status-label {
4960
vertical-align: top;
5061
}

src/components/ProjectStatus/ProjectStatusChangeConfirmation.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class ProjectStatusChangeConfirmation extends Component {
7979
const { newStatus, onCancel } = this.props
8080
this.shouldDropdownUp()
8181
return (
82-
<div className={cn('modal', 'project-status-change-modal', { 'dropdown-up': this.state.showUp })}
82+
<div className={cn('modal', 'project-status-change-modal')}
8383
ref={(input) => { if (input && ! this.wrapper){this.wrapper = input; this.setState({showUp:this.shouldDropdownUp()}) }}}
8484
onClick={e => e.stopPropagation()}
8585
>

src/components/ProjectStatus/ProjectStatusChangeConfirmation.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
z-index: 20;
1111

1212
&.modal{
13-
position: absolute;
1413
}
1514

1615
.cancellation-reason {
@@ -35,11 +34,11 @@
3534
width: 100%;
3635
}
3736
}
38-
37+
3938
&.dropdown-up {
4039
top: auto;
4140
bottom: 320px;
4241
}
4342
}
4443
}
45-
44+

0 commit comments

Comments
 (0)