Skip to content

Commit 3a3749f

Browse files
author
Victor George
committed
Fixes the label of the feature picker to say Save and close instead of just an icon.
1 parent eb75cf7 commit 3a3749f

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

src/projects/detail/components/EditProjectForm.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class EditProjectForm extends Component {
154154
isEdittable={isEdittable} onSave={ this.saveFeatures }
155155
/>
156156
<div onClick={ this.hideFeaturesDialog } className="feature-selection-dialog-close">
157-
<Icons.XMarkIcon />
157+
Save and close <Icons.XMarkIcon />
158158
</div>
159159
</Modal>
160160
</div>

src/projects/detail/containers/Specification.scss

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,33 @@ $title-color: $tc-gray-80;
3535
}
3636

3737
.feature-selection-dialog-close {
38+
@include roboto;
3839
cursor: pointer;
3940
position: absolute;
40-
top: 25px;
41+
top: 20px;
4142
right: 25px;
42-
width: 14px;
43-
height: 14px;
43+
width: 185px;
44+
height: 20px;
45+
line-height: 20px;
46+
text-align: right;
47+
color: $tc-gray-60;
48+
transition: all 200ms ease-in-out;
49+
50+
.x-mark-icon {
51+
display: inline-block;
52+
margin: 0 0 0 5px;
53+
vertical-align: text-bottom;
54+
transition: all 200ms ease-in-out;
55+
}
56+
57+
&:hover {
58+
color: $tc-black;
59+
cursor: pointer;
60+
61+
.x-mark-icon {
62+
fill: $tc-black;
63+
}
64+
}
4465
}
4566

4667
.two-col-content.content {

0 commit comments

Comments
 (0)