Skip to content
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

Give redirect warning close button more area to make it easier to touch on mobile #2443

Open
wants to merge 1 commit into
base: the-future
Choose a base branch
from

Conversation

ShirleyNekoDev
Copy link

I made the close button for the redirect warning a separate CSS "layer" (not really, but you'll see what I mean) and added a padding around the X so that you can hit it easier on mobile.

I also added a localStorage banner suppression which saves the hidden state of the banner (aside from using the redirect.io session stuff).
* As this has already been fixed minutes before I commited my changes, I can remove that part if you want to. ;)

I hope this helps.

Screenshots for different sizes below (outline around button to represent click area, not visible in PR code) :



Btw. this banner close button differs from the unicode "×" used in the mobile app banner below 🤔

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.

1 participant