docs(website): fix video responsiveness (#6709)

This commit is contained in:
Alexey Pyltsyn 2022-02-17 16:22:36 +03:00 committed by GitHub
parent 1551407a9b
commit 0f1f35b678
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 30 additions and 32 deletions

View file

@ -192,3 +192,22 @@ div[class^='announcementBar_'] {
.test-marker-site-custom-css-unique-rule {
content: 'site-custom-css-unique-rule';
}
@media only screen and (max-width: 996px) {
.video-container {
position: relative;
overflow: hidden;
width: 100%;
max-width: 560px;
margin: 0 auto;
padding-top: 56.25%;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}