Message: Fix layout for reply with a sticker (#3008)
This commit is contained in:
parent
8be0459193
commit
62c1fa23ce
@ -748,7 +748,7 @@ const Message: FC<OwnProps & StateProps> = ({
|
||||
if (calculatedWidth) {
|
||||
style = `width: ${calculatedWidth + extraPadding}px`;
|
||||
reactionsMaxWidth = calculatedWidth + EXTRA_SPACE_FOR_REACTIONS;
|
||||
} else if (sticker) {
|
||||
} else if (sticker && !hasSubheader) {
|
||||
const { width } = getStickerDimensions(sticker, isMobile);
|
||||
style = `width: ${width + extraPadding}px`;
|
||||
reactionsMaxWidth = width + EXTRA_SPACE_FOR_REACTIONS;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user