mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-09 09:38:07 +08:00
fix(default-alias): Show primary email instead of "None", clarify only for new messages currently
This commit is contained in:
parent
e70fdd4dcd
commit
0de50b476c
2 changed files with 7 additions and 7 deletions
|
@ -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>
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue