File tree Expand file tree Collapse file tree 3 files changed +11
-32
lines changed
src/internal-packages/indexes Expand file tree Collapse file tree 3 files changed +11
-32
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ before_script:
2323 - npm run check
2424 - mkdir -p /home/travis/build/10gen/compass/node_modules/mongodb-version-manager/.mongodb/downloads/
2525 - wget -P /home/travis/build/10gen/compass/node_modules/mongodb-version-manager/.mongodb/downloads/ http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.12.tgz
26- - wget -P /home/travis/build/10gen/compass/node_modules/mongodb-version-manager/.mongodb/downloads/ http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.4.5 .tgz
26+ - wget -P /home/travis/build/10gen/compass/node_modules/mongodb-version-manager/.mongodb/downloads/ http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.4.6 .tgz
2727script : npm run test
2828cache :
2929 directories :
Original file line number Diff line number Diff line change @@ -128,8 +128,8 @@ class CreateIndexField extends React.Component {
128128 const hasTypeError = this . state . isTypeValid ? '' : 'has-error' ;
129129
130130 return (
131- < div className = "form-inline row create-index-field" >
132- < div className = "col-md-6 " data-test-id = "create-index-modal-field-select" >
131+ < div className = "form-inline create-index-field" >
132+ < div className = "create-index-field-dropdown-name " data-test-id = "create-index-modal-field-select" >
133133 < Select . Creatable
134134 value = { this . props . field . name }
135135 placeholder = { DEFAULT_FIELD . name }
@@ -140,7 +140,7 @@ class CreateIndexField extends React.Component {
140140 className = { hasNameError }
141141 />
142142 </ div >
143- < div className = "col-md-4 " data-test-id = "create-index-modal-type-select" >
143+ < div className = "create-index-field-dropdown-type " data-test-id = "create-index-modal-type-select" >
144144 < Select
145145 value = { this . props . field . type }
146146 placeholder = { DEFAULT_FIELD . type }
@@ -151,7 +151,7 @@ class CreateIndexField extends React.Component {
151151 className = { hasTypeError }
152152 />
153153 </ div >
154- < div className = "col-md-2" >
154+ < div >
155155 < button disabled = { this . props . isRemovable }
156156 className = "btn btn-primary btn-circle"
157157 onClick = { this . remove . bind ( this ) } >
Original file line number Diff line number Diff line change 66 }
77
88 .create-index-modal-content {
9- padding-left : 40px ;
10- padding-right : 40px ;
11-
129 .modal-header {
1310 padding-bottom : 4px ;
1411 }
2522 margin-top : 8px ;
2623 right : 10px ;
2724 }
28-
29- .col-md-6 {
30- padding-right : 0px ;
31-
32- .dropdown-menu {
33- max-height : 400px ;
34- overflow : auto ;
35- }
36- }
37-
38- .col-md-4 {
39- padding-right : 0px ;
40- }
4125 }
4226
4327 .create-index-field-add {
4630
4731 .create-index-field {
4832 margin-bottom : 5px ;
33+ display : flex ;
4934
5035 .has-error .Select-control {
5136 border : 1px solid #EF4C4C ;
5237 box-shadow : 0 2px 6px 0 rgba (239 ,76 ,76 ,0.30 );
5338 }
5439
55- .create-index-field -dropdown-name {
56- width : 164 px ;
40+ & -dropdown-name {
41+ width : 260 px ;
5742 text-align : left ;
5843 text-transform : none ;
59- overflow : hidden ;
60- text-overflow : ellipsis ;
61- padding-right : 25px ;
44+ padding-right : 10px ;
6245 white-space : nowrap ;
6346 }
6447
65- .create-index-field -dropdown-type {
48+ & -dropdown-type {
6649 width : 120px ;
6750 text-align : left ;
6851 text-transform : none ;
69- margin-left : -7 px ;
52+ margin-right : 8 px ;
7053 }
7154 }
7255
131114 }
132115 }
133116
134- .index-field-dropdown-btn {
135- text-transform : none ;
136- }
137-
138117 .create-index-confirm-buttons {
139118 text-align : right ;
140119
You can’t perform that action at this time.
0 commit comments