Fix Composer: Width jumps, web page with long description, missing closing animation (#1450)

This commit is contained in:
Alexander Zinchuk 2021-09-17 17:17:16 +03:00
parent 665dce9631
commit b95e804a9f
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@
}
@media (max-width: 600px) {
max-width: calc(100% - 3rem);
max-width: calc(100% - 3.375rem);
}
}

View File

@ -79,7 +79,7 @@ const WebPagePreview: FC<OwnProps & StateProps & DispatchProps> = ({
const isShown = Boolean(webPagePreview && messageText.length && !noWebPage && !disabled);
const { shouldRender, transitionClassNames } = useShowTransition(isShown);
const renderingWebPage = useCurrentOrPrev(webPagePreview);
const renderingWebPage = useCurrentOrPrev(webPagePreview, true);
if (!shouldRender || !renderingWebPage) {
return undefined;