Skip to content

Commit

Permalink
fix incomming image metadata unreadable
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Laux authored and Jikstra committed Nov 17, 2019
1 parent 3a4d8b1 commit 3e22bbb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scss/message/_message.scss
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
margin-left: 0;
margin-right: 32px;

.metadata {
.metadata:not(.with-image-no-caption) {
&>.padlock-icon {
@include color-svg('../images/padlock.svg', var(--messagePadlockIncomming), 125%);
}
Expand Down
6 changes: 5 additions & 1 deletion scss/message/_metadata.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@
font-weight: bold;

&>.date {
color: var(--messageMetadataImageNoCaption);
color: white;
}

&>.padlock-icon {
@include color-svg('../images/padlock.svg', white, 125%);
}
}

Expand Down
1 change: 0 additions & 1 deletion src/renderer/ThemeBackend.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ export function ThemeDataBuilder (theme) {
messageStatusIconSending: '#62656a',
messagePadlockOutgoing: '#4caf50',
messagePadlockIncomming: '#a4a6a9',
messageMetadataImageNoCaption: '#ffffff',
messageMetadataDate: '#62656a',
messageMetadataIncomming: 'rgba(#ffffff, 0.7)',
messageAuthor: '#ffffff',
Expand Down

0 comments on commit 3e22bbb

Please sign in to comment.