Skip to content

Commit 448dca0

Browse files
committed
fix: live preview edges leaking a thin white line
1 parent 7bfd0c0 commit 448dca0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/extensionsIntegrated/Phoenix-live-preview/live-preview.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
#panel-md-preview-frame {
3030
background-color: white;
3131
position: relative;
32+
width: calc(100% + 2px);
33+
margin: 0 -1px;
34+
clip-path: inset(0 1px);
35+
min-width: 0;
3236
}
3337

3438
#panel-live-preview-frame[src*="no-preview.html"],
@@ -48,6 +52,7 @@
4852
display: flex;
4953
width: 100%;
5054
height: calc(100% - var(--toolbar-height));
55+
overflow: hidden;
5156
}
5257

5358
.frame-container.responsive-viewport {

0 commit comments

Comments
 (0)