Improve copy
parent
7199d562e1
commit
155f1444b4
|
@ -122,17 +122,17 @@ const QueryBuilder = React.createClass({
|
|||
|
||||
onChoose(item) {
|
||||
switch (item.text) {
|
||||
case 'Query Builder':
|
||||
case 'Help me build a query':
|
||||
this.handleAddQuery()
|
||||
break
|
||||
case 'Query Editor':
|
||||
case 'Type my own query':
|
||||
this.handleAddRawQuery()
|
||||
break
|
||||
}
|
||||
},
|
||||
|
||||
renderAddQuery() {
|
||||
const items = [{text: 'Query Builder'}, {text: 'Query Editor'}]
|
||||
const items = [{text: 'Help me build a query'}, {text: 'Type my own query'}]
|
||||
return (
|
||||
<SimpleDropdown onChoose={this.onChoose} items={items} className="panel--tab-new">
|
||||
<span className="icon plus"></span>
|
||||
|
|
|
@ -115,9 +115,9 @@
|
|||
}
|
||||
}
|
||||
> .dropdown-menu {
|
||||
width: 108px !important;
|
||||
width: 145px !important;
|
||||
min-width: 108px !important;
|
||||
max-width: 108px !important;
|
||||
max-width: 145px !important;
|
||||
}
|
||||
}
|
||||
.panel--tab-new.open {
|
||||
|
@ -249,4 +249,4 @@ $query-builder--column-heading-height: 50px;
|
|||
.alert.alert-rawquery {
|
||||
border-color: $g6-smoke;
|
||||
color: $g12-forge;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue