Skip to content

Commit 11bb166

Browse files
committed
Add extra padding
1 parent 0ae00d3 commit 11bb166

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/components/index-page/graphql-advantages/productivity.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ const VIDEOS_DIR =
44
export function ProductivityFigure() {
55
return (
66
<div className="flex w-full items-center bg-gradient-to-b from-pri-lighter/[.05] to-pri-lighter/20 px-[14px] py-[30px] dark:from-sec-darker/[.01] dark:to-pri-light/5">
7-
<div className="overflow-hidden rounded-lg shadow-[0px_0px_20px_0px_rgba(153,0,105,0.20)] dark:shadow-[0px_0px_20px_0px_hsl(218deg,60.3%,17.5%,.2)] dark:saturate-[.75]">
7+
<div className="overflow-hidden rounded-lg shadow-[0px_0px_20px_0px_rgba(153,0,105,0.20)] dark:shadow-[0px_0px_20px_0px_hsl(218deg,60.3%,17.5%,.2)]">
8+
<div className="h-px bg-[#FEFEFE] dark:bg-[#1F293A]" />
89
<video
910
disablePictureInPicture
1011
autoPlay
@@ -25,6 +26,10 @@ export function ProductivityFigure() {
2526
>
2627
<source src={`${VIDEOS_DIR}/graphiql-light.mp4`} type="video/mp4" />
2728
</video>
29+
<div
30+
/* the video is cropped a bit short at the bottom, so we're adding missing padding */
31+
className="h-[7px] bg-[#FEFEFE] dark:bg-[#1F293A]"
32+
/>
2833
</div>
2934
</div>
3035
)

0 commit comments

Comments
 (0)