Embedded Message: Fix quote position (#4848)
This commit is contained in:
parent
47250eefee
commit
967852580a
@ -34,7 +34,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
&::after {
|
||||
.hover-effect {
|
||||
transition: opacity 0.15s;
|
||||
content: '';
|
||||
position: absolute;
|
||||
@ -47,6 +47,7 @@
|
||||
opacity: var(--hover-opacity);
|
||||
|
||||
pointer-events: none;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
body.no-page-transitions & {
|
||||
@ -67,10 +68,6 @@
|
||||
background-color: var(--pattern-color);
|
||||
box-shadow: 0 1px 2px var(--color-default-shadow);
|
||||
|
||||
&::before {
|
||||
background: var(--accent-color);
|
||||
}
|
||||
|
||||
&:dir(rtl) {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
@ -85,6 +82,10 @@
|
||||
inset-inline-start: 0;
|
||||
width: 3px;
|
||||
background: var(--bar-gradient, var(--accent-color));
|
||||
|
||||
.custom-shape & {
|
||||
background: var(--accent-color);
|
||||
}
|
||||
}
|
||||
|
||||
&.is-quote {
|
||||
|
||||
@ -233,6 +233,7 @@ const EmbeddedMessage: FC<OwnProps> = ({
|
||||
onClick={handleClick}
|
||||
onMouseDown={handleMouseDown}
|
||||
>
|
||||
<div className="hover-effect" />
|
||||
<RippleEffect />
|
||||
{mediaThumbnail && renderPictogram(mediaThumbnail, mediaBlobUrl, isRoundVideo, isProtected, isSpoiler)}
|
||||
{sender?.color?.backgroundEmojiId && (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user