Skip to content

Commit

Permalink
Source dropdown will remain the same size. Closes nukeop#32
Browse files Browse the repository at this point in the history
  • Loading branch information
nukeop committed Apr 15, 2017
1 parent 169ee50 commit dc0e4e0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
12 changes: 12 additions & 0 deletions app/app.global.css
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,15 @@ a, a:hover, a:focus {
margin: 10px 0px 10px 0px;
padding-left: 32px;
}

.multiselect {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
}

.multiselect-native-select {
display: block;
width: 100%;
}
3 changes: 1 addition & 2 deletions app/components/SearchField.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ handleSearch(event, value){

render() {
const searchFieldStyle = {width: "75%", 'paddingTop': '1px'};
const sourceButtonStyle = {width: "25%"};
return (
<form className="form-inline" onSubmit={(event) => {event.preventDefault(); return false;}}>
<div className="form-group searchfield-group">
Expand All @@ -43,7 +42,7 @@ handleSearch(event, value){
<input type="text" id="searchField" className="form-control searchfield" placeholder="Search..." onKeyPress={this.handleSearch.bind(this)} />
</div>

<div style={sourceButtonStyle} className="input-group">
<div className="input-group">
<Multiselect
id="sourceMultiselect"
ref="sourceMultiselect_ref"
Expand Down

0 comments on commit dc0e4e0

Please sign in to comment.