Fix reply to message w/attachment, dark theme quoted attachment

This commit is contained in:
Scott Nonnenberg 2018-07-17 20:40:19 -07:00
parent 675e34fc8d
commit 60f61c804b
2 changed files with 3 additions and 3 deletions

View file

@ -583,7 +583,7 @@
}
};
const firstAttachment = quote.attachments && quote.attachments[1];
const firstAttachment = quote.attachments && quote.attachments[0];
return {
text: this.createNonBreakingLastSeparator(quote.text),

View file

@ -673,7 +673,7 @@ body.dark-theme {
.module-message__generic-attachment__icon {
// TODO: this will eventually be a different image
background: url('../images/file-gradient.svg') no-repeat center;
// background: url('../images/file-gradient.svg') no-repeat center;
}
.module-message__generic-attachment__icon__extension {
@ -963,7 +963,7 @@ body.dark-theme {
.module-quote__generic-file__icon {
// TODO: this will eventually be a different icon
background: url('../images/file-gradient.svg');
// background: url('../images/file-gradient.svg');
}
.module-quote__generic-file__text {
color: $color-dark-05;