Skip to content

Commit

Permalink
add the border-radius to the previews
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed May 22, 2024
1 parent a5344f1 commit 06b7951
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion packages/edit-site/src/components/global-styles/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
}

.edit-site-global-styles-preview__iframe {
border-radius: $radius-block-ui + 1px; // Visually resembles the $radius-block-ui.
max-width: 100%;
display: block;
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
border-radius: $radius-block-ui;
outline: $border-width solid rgba($black, 0.15);
outline-offset: -$border-width;
overflow: hidden;
position: relative;
// Add the same transition that block style variations and other buttons have.
transition: outline 0.1s linear;
Expand Down

0 comments on commit 06b7951

Please sign in to comment.