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

fix TikTok embed #179

Merged
merged 4 commits into from
Nov 30, 2023
Merged

fix TikTok embed #179

merged 4 commits into from
Nov 30, 2023

Conversation

Suzu-Gears
Copy link
Contributor

TikTok埋め込みはサイズが固定値となっており、メインカラムの横幅がおよそ325pxを超えると余った部分に白い背景が描写されていました。
image

埋め込み内部のもの(映像やキャプション)はメインカラムが325px以下となっても自動的に縮小されず、メインカラムを突き破ってしまうため、ギリギリのサイズで最小幅を指定したラッパーで囲い、はみ出した分はoverflow-xで隠して横スクロールで表示するようにしました。
image

TikTokembed2

Copy link

vercel bot commented Nov 30, 2023

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

@otoyo first needs to authorize it.

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.

ありがとうございます!

Copy link

vercel bot commented Nov 30, 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 Nov 30, 2023 10:55pm

@otoyo otoyo merged commit 3065ee5 into otoyo:main Nov 30, 2023
2 checks passed
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