-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
fix(ui): adapt NoProjectMessage on mobile to add padding and change direction #101065
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
Conversation
|
|
I think the after does look better, however:
|
It was suggested by design to remove it entirely on mobile.
|
👍
So you have e.g. responsive I’d like to understand what isn’t possible with the current layout components because it might mean we have to tweak them. But we shouldn’t need to apply |
59d37b5 to
f7cdbd9
Compare
|
@TkDodo I changed everything to use the The reason is, that the |
TkDodo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work 🙌
@vgrozdanic what if we added a |
|
@vgrozdanic @TkDodo I've taken a first pass on this #101440 |
…irection (#101065) This changes the way how the "NoProjectMessage" is shown on mobile and tablet. A little padding is always added, so that the corners are not touching the browser borders. <details> <summary> Before on various mobile devices: </summary> <img width="300" height="940" alt="iPhonePro12_b" src="https://github.com/user-attachments/assets/556db191-0162-4ea2-8a70-c77c75f3c36a" /> <img width="300" height="1119" alt="iPadMini_b" src="https://github.com/user-attachments/assets/b1ce2569-52de-49cf-9304-9d99223257cf" /> <img width="300" height="1145" alt="iPadAir_b" src="https://github.com/user-attachments/assets/5e331af2-f417-48ab-8f59-c7c407d97edf" /> </details> <details> <summary> After on various mobile devices: </summary> <img width="300" height="928" alt="iPhonePro12" src="https://github.com/user-attachments/assets/1714fbbf-9599-4a6c-a595-e39de992d87e" /> <img width="300" height="1114" alt="iPadMini" src="https://github.com/user-attachments/assets/2e1ef4ea-c43c-42f3-be49-68d9f609ce2f" /> <img width="300" height="1142" alt="iPadAir" src="https://github.com/user-attachments/assets/50e775cc-bfd6-458c-b294-1d1f0e3fcdee" /> </details>
This changes the way how the "NoProjectMessage" is shown on mobile and tablet. A little padding is always added, so that the corners are not touching the browser borders.
Before on various mobile devices:
After on various mobile devices: