Skip to content

Commit a9d9525

Browse files
authored
Adding a video { width: 100%; } (#4204)
* Adding a video { width: 100%; } This is to prevent that videos included in pages don't exceed the page border * Reverting precedent commit * Adding a video { max-width: 100% } instead
1 parent 56f234d commit a9d9525

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

resources/sass/_pages.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ body.tox-fullscreen, body.markdown-fullscreen {
182182
.cm-editor {
183183
margin-bottom: 1.375em;
184184
}
185+
186+
video {
187+
max-width: 100%;
188+
}
185189
}
186190

187191
// Page content pointers
@@ -452,4 +456,4 @@ body.tox-fullscreen, body.markdown-fullscreen {
452456
@media (prefers-contrast: more) {
453457
opacity: 1;
454458
}
455-
}
459+
}

0 commit comments

Comments
 (0)