style: revamp homepage and drawer
Co-authored-by: me <ramvignesh-b@github.com> Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
@@ -122,6 +122,7 @@ export function ComposeCanvas({
|
||||
// re-calculates height based on content and applies the zoom transform
|
||||
const syncViewport = useCallback(() => {
|
||||
if (!(fabricRef.current && wrapperRef.current)) return;
|
||||
textboxRef.current.initDimensions();
|
||||
|
||||
const minHeight = initialData?.canvasHeight ?? DEFAULT_LOGICAL_HEIGHT;
|
||||
logicalSizeRef.current.height = measureLogicalContentHeight(
|
||||
|
||||
Reference in New Issue
Block a user