Article preview component

Solution retrospective
Different tooltip view for different view. This is so hard to do it neatly.
What challenges did you encounter, and how did you overcome them?The tooltip in mobile and the tooltip in desktop. They act differently. In mobile, it is a banner with the same width as the card. I achieved this by setting the padding of the tooltip to a calculated number. This is over-complicated imo.
What specific areas of your project would you like help with?Is there a neater way to implement the share button?
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Shixu Luo's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord