Adjust video modal layout for desktop

This commit is contained in:
thePR0M3TH3AN committed 2025-10-23 21:34:48 -04:00
1 parent 8163a5bbd5
commit cef5971466
2 files changed
+18 -2

No files matched your search

+17 -1
View File
@@ -1669,9 +1669,23 @@
}
.video-modal__layout {
--video-modal-primary-fr: 1.1fr;
--video-modal-secondary-min: clamp(
calc(var(--space-2xl) * 6),
32vw,
calc(var(--space-2xl) * 8)
);
--video-modal-secondary-fr: 0.9fr;
@apply grid items-start gap-6 lg:gap-8;
}
@media (min-width: theme('screens.xl')) {
.video-modal__layout {
--video-modal-primary-fr: 1.4fr;
--video-modal-secondary-fr: 1fr;
}
}
@media (min-width: theme('screens.lg')) {
.video-modal__layout {
grid-template-columns:
@@ -1704,15 +1718,17 @@
}
.video-modal__secondary {
min-width: 0;
@apply flex flex-col gap-4;
}
.video-modal__similar {
@apply flex flex-col gap-6;
display: none;
}
@media (min-width: theme('screens.lg')) {
.video-modal__similar {
@apply flex flex-col gap-6;
align-self: stretch;
}
}