Skip to content

Write HTML. Render video. Built for agents.

fix(registry): work around CDP subpixel capture artifact

Miguel Ángelfa58903eb45d
diff --git a/registry/components/parallax-unzoom/demo.html b/registry/components/parallax-unzoom/demo.html
index 368c1a38a4..4c4fc20466 100644
--- a/registry/components/parallax-unzoom/demo.html
+++ b/registry/components/parallax-unzoom/demo.html
@@ -32,15 +32,12 @@
height: 1080px;
position: relative;
overflow: hidden;
- display: flex;
- align-items: center;
- justify-content: center;
}
.parallax-unzoom-grid {
display: grid;
grid-template-columns: repeat(5, 360px);
- grid-template-rows: repeat(3, 340px);
+ grid-template-rows: repeat(3, 341px);
gap: 30px;
}
diff --git a/registry/components/parallax-zoom/demo.html b/registry/components/parallax-zoom/demo.html
index 78702d72ca..8be427acf1 100644
--- a/registry/components/parallax-zoom/demo.html
+++ b/registry/components/parallax-zoom/demo.html
@@ -32,15 +32,12 @@
height: 1080px;
position: relative;
overflow: hidden;
- display: flex;
- align-items: center;
- justify-content: center;
}
.parallax-zoom-grid {
display: grid;
grid-template-columns: repeat(5, 360px);
- grid-template-rows: repeat(3, 340px);
+ grid-template-rows: repeat(3, 341px);
gap: 30px;
}