fix(website): use react-lite-youtube-embed for lazy YouTube video (#7390)

* fix(website): use react-lite-youtube-embed for lazy YouTube video

* fix(website): use react-lite-youtube-embed for lazy YouTube video

* fix(website): use react-lite-youtube-embed for lazy YouTube video

* Update multiple-sidebars.md

* Update installation.md

* refactor intro

* rename file back

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
Matthias Koch 2022-05-12 04:30:59 +02:00 committed by GitHub
parent cd0aff443b
commit fa10d1b1a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 37 additions and 29 deletions

View file

@ -191,23 +191,17 @@ div[class^='announcementBar_'] {
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 {
position: relative;
overflow: hidden;
width: 100%;
max-width: 560px;
margin: 0 auto;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.yt-lite > .lty-playbtn {
cursor: pointer;
border: 0;
}
.dropdown-separator {