Skip to content

Commit

Permalink
style: outgoing bg color for outgoing stickers
Browse files Browse the repository at this point in the history
Closes #4453.
The bug (if you can call it that) was introduced in f83ce46.
Similar commit: 8259aad.
  • Loading branch information
WofWca committed Jan 6, 2025
1 parent 8363e6c commit 2a9134e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/frontend/scss/message/_message.scss
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@

.msg-container {
background-color: var(--messageIncomingBg);
--messageBg: var(--messageIncomingBg);

&,
.message-attachment-media {
Expand Down Expand Up @@ -213,6 +214,7 @@

.msg-container {
background-color: var(--messageOutgoingBg);
--messageBg: var(--messageOutgoingBg);

&,
.message-attachment-media {
Expand All @@ -231,7 +233,10 @@
}

.quote-background {
background: var(--messageIncomingBg);
// `.msg-container` background is transparent,
// so let's explicitly apply the color just for the quote.
background: var(--messageBg);

padding: 5px;
padding-left: 6px;
border-radius: 7px;
Expand Down

0 comments on commit 2a9134e

Please sign in to comment.