Skip to content
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

Add Codeblock horizontal scroll #154

Merged

Conversation

Suzu-Gears
Copy link
Contributor

コードブロックの折返しを無くし、はみ出す分はNotionのように横スクロールできるようにしました。
また、margin-bottomを少し付けました。デザインは極力Notionに近づけています。
Chrome系、Firefox、Edge、iPadのSafariで動作を確かめてあります。

左がastro-notion-blog、右がブラウザ版Notionです。
変更前
image
変更後
image

@vercel
Copy link

vercel bot commented Jul 27, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @otoyo on Vercel.

@otoyo first needs to authorize it.

@vercel
Copy link

vercel bot commented Jul 27, 2023

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

Name Status Preview Comments Updated (UTC)
astro-notion-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 27, 2023 10:33pm

Copy link
Owner

@otoyo otoyo left a comment

Choose a reason for hiding this comment

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

こちらも良いですね!ありがとうございます。

@otoyo otoyo merged commit 10c2874 into otoyo:main Jul 27, 2023
2 checks passed
@Suzu-Gears Suzu-Gears deleted the feature/Add_Codeblock_horizontal_scroll branch July 29, 2023 15:45
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.

None yet

2 participants