Skip to content

Commit ec2d0dc

Browse files
committed
Use smaller videos so they fit side-by-side
1 parent 1c1aaff commit ec2d0dc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/css/custom.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,16 +868,19 @@ article {
868868
border-radius: var(--ifm-global-radius);
869869
}
870870

871+
& img,
872+
& video {
873+
width: 360px;
874+
}
875+
871876
& img {
872877
display: inline-block;
873-
width: 402px;
874878
max-width: 100%;
875879
}
876880

877881
& video {
878882
display: inline-block;
879883
vertical-align: top;
880-
width: 402px;
881884
height: auto;
882885
max-width: 100%;
883886
border-radius: var(--ifm-global-radius);

0 commit comments

Comments
 (0)