Skip to content

Commit

Permalink
Add margin-top to PlayWithUs, style YouTube video iframes
Browse files Browse the repository at this point in the history
Added a 2rem top margin to the PlayWithUs section to improve spacing. Styled YouTube iframes in VideoAndGalleries with a border radius for better visual appeal. Attached the new class to the VideoContentYoutube component.
  • Loading branch information
leolabdev committed Aug 30, 2024
1 parent 60df55a commit 1cb8856
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
display: flex;
width: 90%;
gap:20px;
margin-top: 2rem;
}

.ContentWithNav{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,11 @@
}


.VideoContentYoutube{


iframe {
border-radius: var(--border-radius-custom);
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ const VideoAndGalleries = (props: Props) => {
<Container className={cls.container} fluid={isMobileSize || isTabletSize}>
<div className={cls.videoWrapper}>
<VideoContentYoutube
params={{
className: cls.VideoContentYoutube
}}
src={videoLink}
/>
</div>
Expand Down

0 comments on commit 1cb8856

Please sign in to comment.