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(ui): media preview card is misaligned #2751
Conversation
Run & review this pull request in StackBlitz Codeflow. |
✅ Deploy Preview for elk-docs canceled.
|
✅ Deploy Preview for elk-zone ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Thank you, I also encountered the same issue in the past. To validate this fix, I'm trying several image posts but couldn't reproduce the issue yet. Could you share the example post that we can test or upload the sample image to Maybe this was an accidental change by this commit: https://github.com/elk-zone/elk/pull/749/files#diff-91eeec335ef839760a2f6d9a82acc438b6fc0e796f1d603b65c38c89f7945672R40 I tested the image swipe on Google Chrome Android but the swipe works as expected. So I think |
Unfortunately, I am also unable to constantly repro this issue. The picture in the screenshot was randomly picked from the elkdev's timeline. |
I can reproduce the problem using the second link in this issue #2752 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, understand. 👍
Not sure why both
w-full
(width: 100%) andw-100vh
(width: 100vh) are applied to media preview card. Sometimes,w-100vh
are overridingw-full
on my devices, making the picture misaligned.Plus, I guess
w-100vh
is a typo? Is it supposed to bew-100vw
?