fix: use negative margins to make video edge-to-edge within reader

- Add negative left/right margins (-0.75rem) to counteract reader padding
- Video now extends to the true edges of the reader container
- Maintains responsive sizing with 80vw width and aspect ratio
- Achieves true edge-to-edge video display
This commit is contained in:
Gigi
2025-10-13 20:53:39 +02:00
parent d2770d58e2
commit 3df2f248ff

View File

@@ -17,7 +17,7 @@
min-width: 400px; /* Minimum width */
max-width: 1000px; /* Maximum width */
aspect-ratio: 16/9;
margin: 0 0 1rem 0; /* Remove left/right margins, keep bottom margin */
margin: 0 -0.75rem 1rem -0.75rem; /* Negative margins to counteract reader padding */
background: #000;
}
.reader.empty { color: #888; }