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:
google-labs-jules[bot] committed 2026-01-13 01:26:51 +00:00
1 parent 9dcd8e636b
commit 2912b5abbb
3 files changed
+9 -5

No files matched your search

+6 -2
View File
@@ -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)
);
}