Skip to content

Commit f739758

Browse files
committed
fix video sizing on narrow screens
1 parent c30aa02 commit f739758

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

_static/styles.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
video {
2+
max-height: 50vh;
3+
width: 100%;
4+
}
5+
16
/* match Google Docs styles for nested ordered lists */
27
article ol ol li {
38
list-style-type: lower-alpha;

lecture_3.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@
696696
"tags": []
697697
},
698698
"source": [
699-
"<video controls width=\"700\" src=\"https://github.com/afeld/python-public-policy/raw/main/extras/img/pivot.mp4\"></video>"
699+
"<video controls src=\"https://github.com/afeld/python-public-policy/raw/main/extras/img/pivot.mp4\"></video>"
700700
]
701701
},
702702
{

0 commit comments

Comments
 (0)