Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Commit 1869cf4

Browse files
authored
Update pl-viewport.scss
Using a border-radius with any units is creating a odd behavior (on the top left corner) to any iframes used in any patterns in patternlab if there is a need to add a border-radius around the iframe wrapper.
1 parent ceb4793 commit 1869cf4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/uikit-workshop/src/scripts/lit-components/pl-viewport/pl-viewport.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ pl-iframe {
123123
// padding-right: 10px;
124124
overflow: hidden;
125125
// border: 1px solid #CCC;
126-
border-radius: 5px;
126+
border-radius: 0; // Encapsulation does not work with any unit
127127

128128
&.is-ready {
129129
min-height: 0;

0 commit comments

Comments
 (0)