mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
fix icon centering in preview
This commit is contained in:
@@ -264,6 +264,7 @@
|
||||
i {
|
||||
opacity: 0.7;
|
||||
font-size: 45px;
|
||||
margin: -30px 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user