mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-04 16:42:27 +00:00
fix(catalog): keep the text stagger preview inside the frame (#3255)
This commit is contained in:
+3
-3
@@ -28,8 +28,8 @@
|
||||
display: grid;
|
||||
place-items: center;
|
||||
gap: 28px;
|
||||
/* ponytail: scale on non-GSAP wrapper; text was ~7% frame height, now fills ~55% */
|
||||
transform: scale(2.6);
|
||||
/* Scale the non-GSAP wrapper while keeping the full phrase inside the frame. */
|
||||
transform: scale(1.9);
|
||||
transform-origin: center center;
|
||||
}
|
||||
.demo-label {
|
||||
@@ -37,7 +37,7 @@
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: #a1a1aa;
|
||||
color: #737379;
|
||||
}
|
||||
.hf-transition-text-stagger {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user