Skip to content

Commit

Permalink
remove: unnessary css causing issue with scroll to appear at middle o…
Browse files Browse the repository at this point in the history
…f screen
  • Loading branch information
up1512001 committed Sep 18, 2024
1 parent 57f9c91 commit 18ff9c7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/block-editor/src/components/iframe/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@
display: flex;
}

.block-editor-iframe__scale-container.is-zoomed-out {
$container-width: var(--wp-block-editor-iframe-zoom-out-container-width, 100vw);
$prev-container-width: var(--wp-block-editor-iframe-zoom-out-prev-container-width, 100vw);
width: $prev-container-width;
margin-left: calc(-1 * (#{$prev-container-width} - #{$container-width}) / 2);
}

.block-editor-iframe__html {
border: 0 solid $gray-300;
transform-origin: top center;
Expand Down

0 comments on commit 18ff9c7

Please sign in to comment.