Skip to content
This repository was archived by the owner on Jul 24, 2022. It is now read-only.

General way to override the spacing between blocks #2

Closed
iKlsR opened this issue Aug 3, 2021 · 3 comments
Closed

General way to override the spacing between blocks #2

iKlsR opened this issue Aug 3, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@iKlsR
Copy link

iKlsR commented Aug 3, 2021

Would be nice if there were some quick and easy way to do this so the component can flow more text like without being line after line. Maybe a prop spacing [block, prose'] etc... where normal text just flows and other block elements like list items remain normally as an idea, not sure how best to approach this but it would just be nice to at least control the block spacing.

Very useful library, thanks! Came in super handy as we use Notion as our wiki backend. 🙏

@yudax42 yudax42 self-assigned this Aug 8, 2021
@yudax42 yudax42 added the help wanted Extra attention is needed label Aug 8, 2021
@yudax42
Copy link
Member

yudax42 commented Aug 8, 2021

Hello @iKlsR!

Actually, you can do it using Column List and customize the structure of your blocks from Notion.
Here is How 👇
fix

Thank you for using this package!

@yudax42 yudax42 closed this as completed Aug 8, 2021
@iKlsR
Copy link
Author

iKlsR commented Aug 9, 2021

Thanks for the reply, this isn't feasible for blocks of text and there are still gaps in the data. What I really wanted was a quick way to change this

Lorem ipsum

Another lorem line

into this

Lorem ipsum
Another lorem line

Update: I just got some time to really peek at the src and what I was looking for is a way to remove or edit the margin-bottom. Since it's scoped and there are no class names after build that means I can't override it.

@yudax42
Copy link
Member

yudax42 commented Aug 9, 2021

Hello @iKlsR,
I'm sorry for the misunderstanding, I will fix it as soon as possible.
Thank You!

@yudax42 yudax42 added the enhancement New feature or request label Aug 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants