mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-20 20:05:21 +00:00
Replace Hugo shortcodes
This commit is contained in:
@@ -145,3 +145,19 @@ a.btn.navbar__github::before {
|
||||
padding: 0 var(--ifm-pre-padding);
|
||||
}
|
||||
|
||||
|
||||
/* These styles are authored by bravemaster619 https://dev.to/bravemaster619/simplest-way-to-embed-a-youtube-video-in-your-react-app-3bk2 */
|
||||
.video-responsive {
|
||||
overflow: hidden;
|
||||
padding-bottom: 56.25%;
|
||||
position: relative;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.video-responsive iframe {
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
}
|
||||
Reference in New Issue
Block a user