[BUG] Back Button is Autofocused with No Margin in Modal
Issue Summary
When opening an embedded modal (or any modal), the back button in the top left is automatically focused, and it has no margin.
Steps to Reproduce
Attached the video
Expected behavior
he back button should not be focused by default when a modal is opened, and it should have appropriate margin for spacing.
Other information
(screen flickering happens due to the recorder when modal is opened)
https://github.com/user-attachments/assets/aec9cfd1-17cc-419e-9c1b-3e41439997ca
Screenshots
Environment
- [ ] Formbricks Cloud (app.formbricks.com)
- [ ] Self-hosted Formbricks
Desktop (please complete the following information)
- OS: Windows
- Browser: Chrome
/award 50 thanks :)
Awarding JeevaRamanathan: 50 points 🕹️ Well done! Check out your new contribution on oss.gg/JeevaRamanathan
@jobenjada can i work on this ?
/assign
This issue is not part of oss.gg hackathon. Please pick a different one or start with a side quest
This is fixed in the pull request #4226