mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 23:16:47 +00:00
Merge pull request #175 from Andrewnt219/162-fix-embedded-video-size
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* This file contains site-specifc style overrides for Notion elements from
|
||||
* react-notion-x.
|
||||
*
|
||||
*
|
||||
* react-notion-x's goal is to match styling as close as possible to Notion,
|
||||
* whereas our goal with this site is to adjust Notion's styling in a few key
|
||||
* places to add some flare.
|
||||
@@ -34,6 +34,13 @@
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
/* <-- Fix embedded video's size overflows its container */
|
||||
.notion-asset-wrapper-video > div,
|
||||
.notion-asset-wrapper-video video {
|
||||
width: 100% !important;
|
||||
}
|
||||
/* Fix embedded video's size overflows its container --> */
|
||||
|
||||
.notion-header .nav-header {
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
|
||||
Reference in New Issue
Block a user