Skip to content

Commit

Permalink
Fix: Media controls now visible for videos in narrow window (#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstoffan authored Apr 23, 2019
1 parent c5eac30 commit 753fc14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/viewers/media/Dash.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
display: block;
max-height: 100%;
max-width: 100%;
min-width: 460px;
width: 100%;
}

Expand Down
3 changes: 3 additions & 0 deletions src/lib/viewers/media/_mediaBase.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
}

.bp-media-container {
display: flex;
justify-content: center;
min-width: 300px; // Prevent media controls from overflowing on small screens
outline: 0 none;
position: relative;
user-select: none; // Prevents copy paste dialog from appearing on mobile
Expand Down

0 comments on commit 753fc14

Please sign in to comment.