Skip to content

Commit

Permalink
Tweak the link preview in the message composer in full vibrancy mode (f…
Browse files Browse the repository at this point in the history
…ixes #670)
  • Loading branch information
CvX committed Apr 1, 2019
1 parent 2f6c616 commit 66e865c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion css/dark-mode.css
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ html.dark-mode ._29ey {
}
html.dark-mode .fbNubFlyoutAttachments,
html.dark-mode .chatAttachmentShelf {
background: var(--container-color) !important;
background: var(--container-color);
color: var(--base-seventy);
}
html.dark-mode .chatAttachmentShelf {
Expand Down
12 changes: 12 additions & 0 deletions css/vibrancy.css
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,16 @@ html.full-vibrancy ._6e38 {
filter: brightness(0.66);
}

/* Message composer: link preview */
html.full-vibrancy .chatAttachmentShelf,
html.full-vibrancy .fbNubFlyoutAttachments,
html.full-vibrancy.dark-mode .chatAttachmentShelf,
html.full-vibrancy.dark-mode .fbNubFlyoutAttachments {
background: transparent !important;
}
html.full-vibrancy .chatAttachmentShelf,
html.full-vibrancy.dark-mode .chatAttachmentShelf {
border-top-color: rgba(0, 0, 0, 0.1);
}

/* -- BLOCK END: full-window vibrancy -- */

0 comments on commit 66e865c

Please sign in to comment.