Fixed image edit and delete buttons being hidden on touch devices#27338
Fixed image edit and delete buttons being hidden on touch devices#27338minimaluminium wants to merge 1 commit intomainfrom
Conversation
- the edit/delete buttons relied on hover to become visible, leaving them inaccessible on touch devices where hover doesn't exist - added a `[@media(hover:none)]:visible!` variant so the buttons are always shown when the device has no hover capability
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThis pull request modifies the image upload component in the design system by updating Tailwind CSS class strings on the delete and edit overlay buttons. The changes adjust the visibility behavior of these buttons: they maintain their hidden state on medium screens via the 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



ref https://linear.app/ghost/issue/DES-1341/design-and-branding-ui-issues-on-ios
[@media(hover:none)]:visible!variant so the buttons are always shown when the device has no hover capability