Also apply max-width to videos in webviews (#159500)

This commit is contained in:
Matt Bierner 2022-08-29 15:52:54 -07:00 committed by GitHub
parent 71c216d91f
commit a13e5e1da6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -113,7 +113,7 @@ ol ol {
margin-bottom: 0;
}
img {
img, video {
max-width: 100%;
max-height: 100%;
}

View file

@ -99,7 +99,7 @@
padding: 0 20px;
}
img {
img, video {
max-width: 100%;
max-height: 100%;
}

View file

@ -5,7 +5,7 @@
<meta charset="UTF-8">
<meta http-equiv="Content-Security-Policy"
content="default-src 'none'; script-src 'sha256-JpX/ganPoxpavjxWCz9DUZgwVZ59o2lwSYTQrziPsdU=' 'self'; frame-src 'self'; style-src 'unsafe-inline';">
content="default-src 'none'; script-src 'sha256-EDTzzejMryXNJsvXPm3ha4m5Mi6h2Y//JRojh+K0+bY=' 'self'; frame-src 'self'; style-src 'unsafe-inline';">
<!-- Disable pinch zooming -->
<meta name="viewport"
@ -100,7 +100,7 @@
padding: 0 20px;
}
img {
img, video {
max-width: 100%;
max-height: 100%;
}