fix(default-alias): Show primary email instead of "None", clarify only for new messages currently

This commit is contained in:
Ben Gotow 2016-04-15 19:05:54 -04:00
parent e70fdd4dcd
commit 0de50b476c
2 changed files with 7 additions and 7 deletions

View file

@ -123,9 +123,9 @@ class PreferencesAccountDetails extends Component {
if (aliases.length > 0) {
return (
<div className="default-alias-selector">
<span>Default alias: </span>
<div>Default for new messages:</div>
<select value={defaultAlias} onChange={this._onDefaultAliasSelected}>
<option>None</option>
<option value="None">{`${account.name} <${account.emailAddress}>`}</option>
{aliases.map((alias, idx)=> <option key={`alias-${idx}`} value={alias}>{alias}</option>)}
</select>
</div>

View file

@ -102,13 +102,13 @@
}
.default-alias-selector {
font-size: 0.9em;
display:flex;
align-items: baseline;
padding-top: @padding-base-vertical;
padding-top: @padding-base-vertical * 3;
padding-bottom: @padding-base-vertical;
&>select {
flex: 1;
font-size: 0.9em;
margin-left:0;
width: 100%;
}
}
}