mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
feat(composer): subject label is a placeholder
This commit is contained in:
parent
ffd762a9bc
commit
891f86ebce
3 changed files with 13 additions and 6 deletions
|
@ -176,11 +176,11 @@ ComposerView = React.createClass
|
|||
key="subject"
|
||||
name="subject"
|
||||
tabIndex="108"
|
||||
placeholder="Subject:"
|
||||
disabled={not @state.showsubject}
|
||||
className="compose-field compose-subject"
|
||||
value={@state.subject}
|
||||
onChange={@_onChangeSubject}/>
|
||||
<div className="subject-label">Subject:</div>
|
||||
</div>
|
||||
|
||||
<div className="compose-body">
|
||||
|
|
|
@ -123,6 +123,12 @@
|
|||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
input.compose-field.compose-subject {
|
||||
&::-webkit-input-placeholder {
|
||||
color: @text-color-very-subtle;
|
||||
}
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.compose-body {
|
||||
|
|
|
@ -42,11 +42,6 @@ MessageParticipants = React.createClass
|
|||
<div className="participant-name to-contact">{@_fullContact(@props.to)}</div>
|
||||
</div>
|
||||
|
||||
<div className="participant-type">
|
||||
<div className="subject-label">Subject: </div>
|
||||
<div className="subject">{@props.subject}</div>
|
||||
</div>
|
||||
|
||||
<div className="participant-type"
|
||||
style={if @props.cc?.length > 0 then display:"block" else display:"none"}>
|
||||
<div className="participant-label cc-label">Cc: </div>
|
||||
|
@ -58,6 +53,12 @@ MessageParticipants = React.createClass
|
|||
<div className="participant-label bcc-label">Bcc: </div>
|
||||
<div className="participant-name cc-contact">{@_fullContact(@props.bcc)}</div>
|
||||
</div>
|
||||
|
||||
<div className="participant-type">
|
||||
<div className="subject-label">Subject: </div>
|
||||
<div className="subject">{@props.subject}</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
_shortNames: (contacts=[]) ->
|
||||
|
|
Loading…
Reference in a new issue