Skip to content

Commit

Permalink
Optimized video modal size
Browse files Browse the repository at this point in the history
  • Loading branch information
berrnd committed Apr 15, 2023
1 parent 94eddde commit 913e847
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions public/piksi.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,9 @@ a.discrete-link:focus {
.embedded .hide-when-embedded {
display: none;
}

@media (min-width: 768px) {
.modal-video {
max-width: 80%;
}
}
2 changes: 1 addition & 1 deletion public/piksi.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ $(document).on("click", ".show-as-dialog-video", function(e)
bootbox.dialog({
"message": dialogHtml,
"size": "extra-large"
}).find(".modal-content").addClass("bg-secondary");
}).find(".modal-dialog").addClass("modal-video").find(".modal-content").addClass("bg-secondary");
});

$(document).on("click", ".close-bootbox", function(e)
Expand Down

0 comments on commit 913e847

Please sign in to comment.