Remove span to regain explicit whitespace for country options

This change restores whitespace between the country name and prefix code in the
country dropdown.
This commit is contained in:
J. Ryan Stinnett 2019-03-06 18:00:05 +00:00
parent 1cefa44319
commit d93e97bcd2

View file

@ -113,7 +113,7 @@ export default class CountryDropdown extends React.Component {
const options = displayedCountries.map((country) => { const options = displayedCountries.map((country) => {
return <div className="mx_CountryDropdown_option" key={country.iso2}> return <div className="mx_CountryDropdown_option" key={country.iso2}>
{ this._flagImgForIso2(country.iso2) } { this._flagImgForIso2(country.iso2) }
{ country.name } <span>(+{ country.prefix })</span> { country.name } (+{ country.prefix })
</div>; </div>;
}); });