Skip to content

Keep image wrapper under scroll container. #1466

Merged
juliaroldi merged 6 commits intomasterfrom
u/juliaroldi/image-wrapper-viewport
Jan 4, 2023
Merged

Keep image wrapper under scroll container. #1466
juliaroldi merged 6 commits intomasterfrom
u/juliaroldi/image-wrapper-viewport

Conversation

@juliaroldi
Copy link
Contributor

@juliaroldi juliaroldi commented Dec 13, 2022

If the image top is bigger than the editor scroll container, use clip-path css property to cut the top to avoid overlay the content above.

Before:
ViewPortBug

After:
ViewPortFix

@juliaroldi juliaroldi marked this pull request as draft December 13, 2022 18:23
@juliaroldi juliaroldi marked this pull request as ready for review January 4, 2023 17:15
@juliaroldi juliaroldi merged commit 4d4b0a0 into master Jan 4, 2023
@juliaroldi juliaroldi deleted the u/juliaroldi/image-wrapper-viewport branch January 4, 2023 18: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.

2 participants