mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Also apply max-width to videos in webviews (#159500)
This commit is contained in:
parent
71c216d91f
commit
a13e5e1da6
|
@ -113,7 +113,7 @@ ol ol {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
img, video {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
padding: 0 20px;
|
||||
}
|
||||
|
||||
img {
|
||||
img, video {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue