aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.css
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-22 10:05:15 -0700
committerAdam Soltys <[email protected]>2026-10-22 10:05:15 -0700
commit9e48c1513bccdd1bd9cb59736d9efe7676353f6b (patch)
tree81fb489f73f955810d457f821318ec6b8a2450f1 /src/style.css
parentd898efbe1f56834c27fd3b5fdc2f6b010f0b0429 (diff)
downloadcoinosv3-9e48c1513bccdd1bd9cb59736d9efe7676353f6b.tar.gz
coinosv3-9e48c1513bccdd1bd9cb59736d9efe7676353f6b.zip
Videos grid on a wide screen (wide clips only): one clip to a row with its 16:9 poster whole, instead of portrait slivers three across
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css
index 4fbe96b..25f3bed 100644
--- a/src/style.css
+++ b/src/style.css
@@ -1538,6 +1538,9 @@ body::after {
background: var(--surface2); overflow: hidden; cursor: pointer;
}
.media-tile.video { aspect-ratio: 9 / 16; }
+/* only wide clips in it: one to a row, the poster whole */
+.media-grid.wide { grid-template-columns: 1fr; gap: 6px; }
+.media-grid.wide .media-tile.video { aspect-ratio: 16 / 9; }
.media-tile img, .media-tile video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.media-tile.broken { display: none; }
.media-tile-play {