mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Adjust video modal layout for desktop
This commit is contained in:
1 parent
8163a5bbd5
commit
cef5971466
2 files changed
+18
-2
No files matched your search
+17
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user