diff --git a/registry/blocks/blue-sweater-intro-video/blue-sweater-intro-video.html b/registry/blocks/blue-sweater-intro-video/blue-sweater-intro-video.html index b6af3f532f..2c300a8df4 100644 --- a/registry/blocks/blue-sweater-intro-video/blue-sweater-intro-video.html +++ b/registry/blocks/blue-sweater-intro-video/blue-sweater-intro-video.html @@ -149,12 +149,17 @@ color: var(--claude); } - .star-center { + .star-center-anchor { + position: absolute; left: 960px; top: 530px; + transform: translate(-50%, -50%); + } + + .star-center { + position: relative; width: 150px; height: 150px; - transform: translate(-50%, -50%); } .star-brand { @@ -765,17 +770,19 @@
- diff --git a/registry/blocks/code-diff/code-diff.html b/registry/blocks/code-diff/code-diff.html index a4669e5b45..bec3f0fab4 100644 --- a/registry/blocks/code-diff/code-diff.html +++ b/registry/blocks/code-diff/code-diff.html @@ -57,11 +57,14 @@ right: -200px; bottom: -260px; } - .editor { + .editor-anchor { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); + } + .editor { + position: relative; width: 1380px; height: 800px; background: #0b0f17; @@ -240,14 +243,16 @@
-
-
-
- +
+
+
+
+ +
+ greet.js — Code Diff
- greet.js — Code Diff +
-