Skip to content

Conversation

@Inuth0603
Copy link
Contributor

This PR resolves the UI regression on the "Take a Tour" landing page reported in #4878.

Centered tour arrows and improved z-index for mobile responsiveness.

Closes #4878

@github-actions
Copy link
Contributor

❌ Some Jest tests failed. Please check the logs and fix the issues before merging.

Failed Tests:

SaveInterface.test.js

@zealot-zew
Copy link
Contributor

Desktop version bug
image

Mobile version bug
image

can you please rectify this bug that this PR has introduced and test it properly.

@github-actions
Copy link
Contributor

❌ Some Jest tests failed. Please check the logs and fix the issues before merging.

Failed Tests:

SaveInterface.test.js

1 similar comment
@github-actions
Copy link
Contributor

❌ Some Jest tests failed. Please check the logs and fix the issues before merging.

Failed Tests:

SaveInterface.test.js

@Inuth0603
Copy link
Contributor Author

Thank you for catching that alignment issue! I investigated it and found two causes:

JS Conflict: There was a hardcoded top: 10px inside js/widgets/help.js that was overriding the CSS and forcing the arrows to the top on mobile.

CSS Rigidity: The CSS used a fixed top: 195px, which looked correct on my laptop but was too high for shorter mobile screens.

The Fix:

I removed the hardcoded pixel values in both the JS and CSS files.

I updated the alignment logic to use top: 50% and transform: translateY(-50%).

Verification: I have verified this on the 474px x 749px resolution (from your screenshot), and the arrows are now perfectly centered vertically. They also remain centered on standard desktop views.

@github-actions
Copy link
Contributor

❌ Some Jest tests failed. Please check the logs and fix the issues before merging.

Failed Tests:

SaveInterface.test.js

@Inuth0603
Copy link
Contributor Author

Update: I've also addressed the horizontal overlap on the Desktop view.

I noticed in your screenshot that the arrows were touching the border. I increased the side margins from 5px to 20px in js/widgets/help.js, so they now have proper spacing on the 'Meet Mr. Mouse' popup while remaining visible on mobile.

@zealot-zew
Copy link
Contributor

ill check

@zealot-zew
Copy link
Contributor

image still the same?

@walterbender
Copy link
Member

Still something wrong on the desktop:
image

@Inuth0603
Copy link
Contributor Author

Acknowledged. I'm currently stuck trying to find a CSS solution that handles the alignment correctly on both mobile and desktop without them conflicting. I will update the PR once I find a way to separate the styles cleanly.

@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@Inuth0603
Copy link
Contributor Author

@walterbender I have updated the PR to resolve the layout conflicts on both devices.

The Fix:

Mobile: The Welcome modal is now perfectly centered, and the arrows are vertically aligned and visible.

Desktop: Added a @media query to apply specific margins (20px) so the arrows no longer touch the screen edges.

I verified this locally on both mobile simulation and full desktop view. Ready for review!
WhatsApp Image 2025-12-26 at 4 43 30 PM
image
image

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.

[UI Regression] Navigation arrows misaligned/overlapping on Welcome Screen in v3.6.2 (Mobile)

3 participants