mirror of https://github.com/vector-im/riot-web
Merge pull request #900 from matrix-org/luke/improve-country-dd-4
Add left_aligned class to CountryDropdownpull/21833/head
commit
90ee0c7ad9
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue