Skip to content

Commit 19e0a9e

Browse files
authored
Merge pull request #397 from os2display/feature/issue393-video-overflow
Fixed video overflow
2 parents 99b6aa3 + f26aded commit 19e0a9e

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ All notable changes to this project will be documented in this file.
3434
- Optimized release data fetching.
3535
- Optimized list loading.
3636
- Removed fixture length check from test.
37+
- Fixed video overflow.
3738
- Added vitest for frontend unit tests.
3839
- Added BRND to feed source admin dropdown.
3940
- Upgraded to PHP 8.4.

assets/shared/templates/video.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function Video({ slide, content, run, slideDone, executionId }) {
8383

8484
return (
8585
<>
86-
<div className="template-video video-container">
86+
<div className="template-video">
8787
<video
8888
width="100%"
8989
height="100%"

assets/shared/templates/video/video.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
.template-video {
2-
.video-container {
3-
width: auto;
4-
height: 100%;
5-
overflow: hidden;
6-
}
2+
width: 100%;
3+
height: 100%;
4+
overflow: hidden;
75

86
video {
97
object-fit: cover;

0 commit comments

Comments
 (0)