Skip to content

Commit 85680a0

Browse files
authored
fix(www): add styles for video (#4851)
1 parent 521a2a6 commit 85680a0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

projects/www/src/styles.scss

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,24 @@ analog-markdown-route > div {
171171
overflow: hidden;
172172
width: 100%;
173173
}
174+
175+
.video-container {
176+
width: 100%;
177+
max-width: 750px;
178+
justify-content: center;
179+
margin: 1rem auto;
180+
}
181+
182+
.video-responsive-wrapper {
183+
position: relative;
184+
padding-bottom: 56.25%; /* 16:9 */
185+
height: 0;
186+
187+
> iframe {
188+
position: absolute;
189+
top: 0;
190+
left: 0;
191+
width: 100%;
192+
height: 100%;
193+
}
194+
}

0 commit comments

Comments
 (0)