mirror of
https://github.com/dergigi/boris.git
synced 2025-12-30 21:14:48 +01:00
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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user