Skip to content

Added bookmark block #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 27, 2020
Merged

Added bookmark block #2

merged 7 commits into from
Apr 27, 2020

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants