react-notion-x icon indicating copy to clipboard operation
react-notion-x copied to clipboard

fix: h tag not being new line when using multiple h tags in a row

Open ChaCha3088 opened this issue 2 years ago • 1 comments
trafficstars

Description

Bug

I think there is a bug with showing multiple h tags in a row.

It looks like below. Screenshot 2023-09-20 at 10 50 17

How to fix this problem

there is a css file in react-notion-x/src/styles.css

and i changed display: inline-block; to display: block; Screenshot 2023-09-20 at 10 56 04

After Fix

Screenshot 2023-09-20 at 11 00 43

Notion Test Page ID

My Tech Blog which has the problem

LINK

My Notion Page linked with this blog page

LINK

ChaCha3088 avatar Sep 20 '23 02:09 ChaCha3088

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
react-notion-x ✅ Ready (Inspect) Visit Preview Sep 20, 2023 2:21am
react-notion-x-minimal-demo ✅ Ready (Inspect) Visit Preview Sep 20, 2023 2:21am

vercel[bot] avatar Sep 20 '23 02:09 vercel[bot]