fix icon centering in preview

This commit is contained in:
sawka
2024-07-30 22:53:50 -07:00
parent f7531b895f
commit ec94bd51f6
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -264,6 +264,7 @@
i {
opacity: 0.7;
font-size: 45px;
margin: -30px 0 0 0;
}
}
}
+1 -1
View File
@@ -625,7 +625,7 @@ const BlockFull = React.memo(({ blockId, layoutModel }: BlockProps) => {
if (ok) {
return;
}
focusElemRef.current.focus({ preventScroll: true });
focusElemRef.current?.focus({ preventScroll: true });
}, []);
if (!blockId || !blockData) return null;