irongit

take height out of video

huncholanehuncholaneauthored
parent 4b3586acommit 2bebcea280a3733ceb98ded994a44d1e297f382aBrowse files

1 file changed, +5 -3

+5-3twench_landing_page/components/VideoSection/VideoSection.css
@@ -3,11 +3,13 @@
33 }
44
55 .VideoSection .Preview {
6- @apply w-[290px] h-[166px] bg-black border-4 border-primary rounded-md left-1/2 absolute transform -rotate-12 -translate-y-1/2 -translate-x-1/2 cursor-pointer overflow-hidden;
6+ @apply w-[290px] bg-black border-4 border-primary rounded-md left-1/2 absolute transform -rotate-12 -translate-y-1/2 -translate-x-1/2 cursor-pointer overflow-hidden;
7+ @apply 552:w-[400px];
8+ @apply 1100:w-[600px];
79 }
810
911 .VideoSection .Preview video {
10- width: 100%;
12+ /* width: 100%;
1113 height: 100%;
12- object-fit: cover; /* Ensures the video covers the entire box */
14+ object-fit: cover; */
1315 }