Skip to content

Commit

Permalink
feat: add custom notion styles
Browse files Browse the repository at this point in the history
- fix simple table css
  • Loading branch information
mfts committed Oct 8, 2024
1 parent d076669 commit 6e2b25e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/NotionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ import "react-notion-x/src/styles.css";

import { determineTextColor } from "@/lib/utils/determine-text-color";

// custom styles for notion
import "@/styles/custom-notion-styles.css";

import {
Breadcrumb,
BreadcrumbItem,
Expand Down
7 changes: 7 additions & 0 deletions styles/custom-notion-styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.notion-simple-table {
width: 100%;
}

.notion-simple-table-row td {
vertical-align: top;
}

0 comments on commit 6e2b25e

Please sign in to comment.