Invoice: Fix title padding (#3450)
This commit is contained in:
parent
0439592155
commit
efc36cb517
@ -2,6 +2,7 @@
|
|||||||
.title {
|
.title {
|
||||||
color: var(--accent-color);
|
color: var(--accent-color);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
@ -13,6 +14,10 @@
|
|||||||
margin: 0.5rem -0.5rem -0.375rem;
|
margin: 0.5rem -0.5rem -0.375rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.message-content.has-reactions & {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.invoice-image {
|
.invoice-image {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@ -1101,7 +1101,7 @@ const Message: FC<OwnProps & StateProps> = ({
|
|||||||
{invoice && !invoice.extendedMedia && (
|
{invoice && !invoice.extendedMedia && (
|
||||||
<Invoice
|
<Invoice
|
||||||
message={message}
|
message={message}
|
||||||
shouldAffectAppendix={hasCustomAppendix}
|
shouldAffectAppendix={hasCustomAppendix && !hasReactions}
|
||||||
isInSelectMode={isInSelectMode}
|
isInSelectMode={isInSelectMode}
|
||||||
isSelected={isSelected}
|
isSelected={isSelected}
|
||||||
theme={theme}
|
theme={theme}
|
||||||
|
|||||||
@ -84,7 +84,7 @@
|
|||||||
|
|
||||||
.media:not(.text) &,
|
.media:not(.text) &,
|
||||||
.Message .custom-shape &,
|
.Message .custom-shape &,
|
||||||
.Message .invoice & {
|
.Message .invoice:not(.has-reactions) & {
|
||||||
--color-accent-own: white;
|
--color-accent-own: white;
|
||||||
--color-accent: white;
|
--color-accent: white;
|
||||||
color: white !important;
|
color: white !important;
|
||||||
@ -101,7 +101,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.media:not(.text) &,
|
.media:not(.text) &,
|
||||||
.Message .invoice & {
|
.Message .invoice:not(.has-reactions) & {
|
||||||
background: rgba(0, 0, 0, 0.2);
|
background: rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user