fix(videos): anchor dashboard screenshots to left side for square videos

This commit is contained in:
SnapOtter
2026-05-08 18:42:57 +08:00
parent c17d540072
commit fa352f837b
2 changed files with 6 additions and 2 deletions
@@ -24,11 +24,13 @@ export const PrivacyBeatScene: React.FC = () => {
<Img
src={staticFile("screenshots/dashboard.png")}
style={{
width: "100%",
width: "180%",
height: "100%",
objectFit: "cover",
objectPosition: "left top",
opacity: 0.12,
transform: `scale(${bgScale})`,
transformOrigin: "left center",
}}
/>
</AbsoluteFill>
@@ -31,10 +31,12 @@ export const ToolGridRevealScene: React.FC = () => {
<Img
src={staticFile("screenshots/dashboard.png")}
style={{
width: "100%",
width: "180%",
height: "100%",
objectFit: "cover",
objectPosition: "left top",
transform: `scale(${scale})`,
transformOrigin: "left center",
}}
/>
</div>