mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-28 16:32:28 +00:00
Reduce width of Similar Content sidebar and improve layout
- Reduced width of "Similar Content" sidebar in the video modal (further reduced from 40rem to 35rem). - Adjusted responsive widths for the sidebar: - LG: 30vw (was 36vw) - XL: 28vw (was 32vw) - Added bottom padding to the primary video column (`.video-modal__primary`) to ensure the comments box does not touch the bottom of the scroll container. - Updated `css/tokens.css` and `css/tailwind.source.css`. - Regenerated `css/tailwind.generated.css`.
This commit is contained in:
1 parent
9dcd8e636b
commit
2912b5abbb
3 files changed
+9
-5
No files matched your search
@@ -1602,6 +1602,10 @@
|
||||
padding-block-start: var(--player-modal-vertical-padding);
|
||||
}
|
||||
|
||||
#playerModal .video-modal__primary > .watch-container:last-child {
|
||||
padding-block-end: var(--player-modal-vertical-padding);
|
||||
}
|
||||
|
||||
#playerModal .video-modal__secondary > .watch-container:last-child {
|
||||
padding-block-end: var(--player-modal-vertical-padding);
|
||||
}
|
||||
@@ -1897,7 +1901,7 @@
|
||||
.video-modal__layout {
|
||||
--video-modal-secondary-size: clamp(
|
||||
var(--video-modal-secondary-min),
|
||||
36vw,
|
||||
30vw,
|
||||
var(--video-modal-secondary-max)
|
||||
);
|
||||
grid-template-columns:
|
||||
@@ -1936,7 +1940,7 @@
|
||||
.video-modal__layout {
|
||||
--video-modal-secondary-size: clamp(
|
||||
var(--video-modal-secondary-min),
|
||||
32vw,
|
||||
28vw,
|
||||
var(--video-modal-secondary-max)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user