mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-29 08:52:25 +00:00
Stabilize video modal two-column layout
This commit is contained in:
1 parent
e8058c3cdd
commit
31bcc8cef0
3 files changed
+124
-27
No files matched your search
@@ -1729,6 +1729,32 @@
|
||||
}
|
||||
}
|
||||
|
||||
#playerModal .video-modal__layout {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
@media (min-width: theme('screens.lg')) {
|
||||
#playerModal .video-modal__layout {
|
||||
grid-template-columns:
|
||||
minmax(0, 1fr)
|
||||
minmax(
|
||||
var(--video-modal-secondary-min),
|
||||
var(--video-modal-secondary-size)
|
||||
);
|
||||
grid-template-areas: "primary secondary";
|
||||
align-items: start;
|
||||
grid-auto-flow: column;
|
||||
}
|
||||
|
||||
#playerModal .video-modal__primary {
|
||||
grid-area: primary;
|
||||
}
|
||||
|
||||
#playerModal .video-modal__secondary {
|
||||
grid-area: secondary;
|
||||
}
|
||||
}
|
||||
|
||||
.revert-modal__layout {
|
||||
@apply grid gap-6;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user