From 4f6ecda354157953637583412f5badf11ad4edca Mon Sep 17 00:00:00 2001 From: Jon Bell Date: Wed, 10 Apr 2024 15:06:20 +1200 Subject: [PATCH] Less jumping --- src/components/sections/DevTools.tsx | 44 +++++++++++++++++----------- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/src/components/sections/DevTools.tsx b/src/components/sections/DevTools.tsx index aeafa0ed..f8e92da8 100644 --- a/src/components/sections/DevTools.tsx +++ b/src/components/sections/DevTools.tsx @@ -133,22 +133,30 @@ export function DevTools({ devTools }: LandingPageFragment) { )} {featureImage.type === 'mux-video' && ( - +
+ +
)} @@ -195,12 +203,14 @@ export function DevTools({ devTools }: LandingPageFragment) { streamType="on-demand" playbackId="3OZMn3uq3dlTfHO19bGjaBO8JXXbPduqCx2RqDG5jIg" primaryColor="#FFFFFF" - secondaryColor="#000000" + secondaryColor="#ff00ff" muted={true} autoPlay={true} style={ { display: 'block', + padding: '50px 0', + margin: '50px 0', '--controls': 'none', '--media-object-fit': 'cover', '--media-object-position': 'center'