Skip to content

Conversation

@el-angel
Copy link
Contributor

Cool package! Thought I'd take a look at the bookmark block. :)

Copy link
Member

@tobiaslins tobiaslins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool thank you!
Is the HTML/CSS from Notion directly?
I think we can minimize the HTML & CSS there!

src/block.tsx Outdated
Comment on lines 204 to 210
<div>
<div>
<div>
<img src={blockValue.format.bookmark_cover} />
</div>
</div>
</div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we don't need so many nested div's here :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied all the css from notion yes, and also their html markup. I'll minimize it! :)

@el-angel el-angel requested a review from tobiaslins April 23, 2020 09:31
- Hide image when inside column - Add support for custom background colors - Add alt tags to images
@timolins
Copy link
Member

Looking good! 👍

@timolins timolins merged commit 563a115 into splitbee:master Apr 27, 2020
@el-angel el-angel deleted the fork/add-bookmark-block branch April 28, 2020 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants