Skip to content

Commit

Permalink
fixed card size when resizing screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Efrain-Morales committed Jul 31, 2024
1 parent 7f4931a commit 3fb536b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/FeaturedVideo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,17 @@ function FeaturedVideo({
const cardStyle: React.CSSProperties = {
display: "flex",
flexDirection: "column",
width: "30%",
alignItems: "center",
justifyContent: "center",
minWidth: "350px",
maxWidth: "350px",
margin: "auto",
};

const iframeContainerStyler: React.CSSProperties = {
position: "relative",
width: "100%",
height: "200px",
};

const videoFrameStyle: React.CSSProperties = {
Expand Down

0 comments on commit 3fb536b

Please sign in to comment.