Twitter/X 임베드 높이 잘림 수정#993
Merged
Merged
Conversation
기본 .embed-container의 padding-bottom + ::before 패딩이 Twitter 오버라이드보다 우선 적용되어 iframe 높이가 1/3만 표시되던 문제 수정. 4곳(components.css, index.ts, markdown.svelte, embed-container.svelte) 모두 !important로 padding-bottom: 0, ::before display: none 강제 적용.
Contributor
Staging 배포 완료URL: https://dev.damoang.net
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.embed-container의padding-bottom+::beforepadding-bottom 트릭이 Twitter 오버라이드보다 우선 적용되어 iframe이 1/3만 표시되던 버그 수정!important로padding-bottom: 0,::before display: none강제 적용handleTwitterResize가--twitter-embed-heightCSS 변수를 설정해도, 부모 컨테이너의 aspect-ratio 패딩이 높이를 제한하던 근본 원인 해결Test plan