Skip to content

Commit c0904c8

Browse files
Merge pull request transitive-bullshit#175 from Andrewnt219/162-fix-embedded-video-size
2 parents b15c0a0 + 9f8c8f4 commit c0904c8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

styles/notion.css

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* This file contains site-specifc style overrides for Notion elements from
33
* react-notion-x.
4-
*
4+
*
55
* react-notion-x's goal is to match styling as close as possible to Notion,
66
* whereas our goal with this site is to adjust Notion's styling in a few key
77
* places to add some flare.
@@ -34,6 +34,13 @@
3434
margin-bottom: 1em;
3535
}
3636

37+
/* <-- Fix embedded video's size overflows its container */
38+
.notion-asset-wrapper-video > div,
39+
.notion-asset-wrapper-video video {
40+
width: 100% !important;
41+
}
42+
/* Fix embedded video's size overflows its container --> */
43+
3744
.notion-header .nav-header {
3845
max-width: 1100px;
3946
margin: 0 auto;

0 commit comments

Comments
 (0)