Skip to content

Commit

Permalink
update: container width variable
Browse files Browse the repository at this point in the history
  • Loading branch information
up1512001 committed Sep 18, 2024
1 parent f1918e8 commit bbcc635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/iframe/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ function Iframe( {
'--wp-block-editor-iframe-zoom-out-container-width':
isZoomedOut && `${ containerWidth }px`,
'--wp-block-editor-iframe-zoom-out-prev-container-width':
isZoomedOut && `${ prevContainerWidthRef.current }px`,
isZoomedOut && `${ containerWidth.current }px`,
} }
>
{ iframe }
Expand Down

0 comments on commit bbcc635

Please sign in to comment.