Skip to content

Commit 771d9e2

Browse files
Satyadurran
authored andcommitted
COMPASS-190 some stytle changes for create index, making cursors pointers (#557)
1 parent 84c3d62 commit 771d9e2

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

src/internal-packages/indexes/lib/component/create-index-checkbox.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class CreateIndexCheckbox extends React.Component {
4040
render() {
4141
return (
4242
<div className="create-index-checkbox">
43+
<label>
4344
<input
4445
type="checkbox"
4546
checked={this.state.checked}
@@ -48,6 +49,7 @@ class CreateIndexCheckbox extends React.Component {
4849
<p className="create-index-checkbox-description">
4950
{this.props.description}
5051
</p>
52+
</label>
5153
</div>
5254
);
5355
}

src/internal-packages/indexes/lib/component/create-index-modal.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class CreateIndexModal extends React.Component {
3333
constructor(props) {
3434
super(props);
3535
this.state = {
36-
showOptions: false,
36+
showOptions: true,
3737
error: false,
3838
errorMessage: '',
3939
inProgress: false,

src/internal-packages/indexes/styles/create-index-modal.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
background: #fff;
4949
border-color: #ddd;
5050
border-radius: 2px;
51+
cursor: pointer;
5152
}
5253
}
5354

@@ -57,13 +58,15 @@
5758

5859
.create-index-checkbox-input {
5960
font-size: 120%;
61+
cursor: pointer;
6062
}
6163

6264
.create-index-checkbox-description {
6365
display: inline-block;
6466
font-weight: normal;
6567
margin-bottom: 4px;
6668
margin-left: 10px;
69+
cursor: pointer;
6770
}
6871
}
6972

@@ -85,6 +88,7 @@
8588

8689
&[disabled] {
8790
border: 1px solid rgba(204, 204, 204, 0.3);
91+
cursor: not-allowed;
8892
}
8993
}
9094

@@ -105,6 +109,7 @@
105109
}
106110

107111
.options-toggle-bar {
112+
cursor: pointer;
108113
.options-toggle-bar-header {
109114
margin-top: 10px;
110115

0 commit comments

Comments
 (0)