mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-19 01:28:38 +02:00
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:
parent
cd0aff443b
commit
fa10d1b1a4
6 changed files with 37 additions and 29 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue