Merge pull request #900 from matrix-org/luke/improve-country-dd-4

Add left_aligned class to CountryDropdown
pull/21833/head
Luke Barnard 2017-05-18 14:38:39 +01:00 committed by GitHub
commit 90ee0c7ad9
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ export default class CountryDropdown extends React.Component {
// values between mounting and the initial value propgating
const value = this.props.value || COUNTRIES[0].iso2;
return <Dropdown className={this.props.className}
return <Dropdown className={this.props.className + " left_aligned"}
onOptionChange={this._onOptionChange} onSearchChange={this._onSearchChange}
menuWidth={298} getShortOption={this._getShortOption}
value={value} searchEnabled={true}