mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-07-25 09:45:04 +02:00
fix
This commit is contained in:
@@ -195,8 +195,8 @@ function calcContentRenderingSize(content: Content) {
|
||||
|
||||
const contentRenderingSize = calcContentRenderingSize(props.content);
|
||||
const contentRenderingRect = contentRenderingSize != null ? {
|
||||
left: (window.innerWidth - contentRenderingSize.width) / 2,
|
||||
top: (window.innerHeight - contentRenderingSize.height) / 2,
|
||||
left: (window.innerWidth - contentRenderingSize.width + padding.left - padding.right) / 2,
|
||||
top: (window.innerHeight - contentRenderingSize.height + padding.top - padding.bottom) / 2,
|
||||
width: contentRenderingSize.width,
|
||||
height: contentRenderingSize.height,
|
||||
} : null;
|
||||
|
||||
Reference in New Issue
Block a user