-
Notifications
You must be signed in to change notification settings - Fork 481
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
[Labs-715][GenAI] Continue and Update buttons pushed off screen #58401
Conversation
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.
lgtm 🚀
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 solution!
@@ -19,15 +19,18 @@ | |||
.instructionsArea { | |||
width: 30%; | |||
height: 100%; | |||
min-width: 200px; |
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.
Mind adding a comment similar to your PR description around why this value was chosen? Optional - also, create a sass constant for this value?
@@ -19,15 +19,18 @@ | |||
.instructionsArea { | |||
width: 30%; | |||
height: 100%; |
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.
I wonder if we should also prevent buttons from disappearing if user resizes window vertically.
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.
It's also included in this PR. If user resizes window vertically and height is too small - scroll for y axis will appear
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.
2024-05-06.14.41.27.mov
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! Thanks for the demo.
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.
🎉
[Labs-715][GenAI] Continue and Update buttons pushed off screen
Fixed the issue by setting the
min-width
to every column and addingoverflow: auto
, so that in case the screen width is too small - user will be able to just scroll horizontally. 200px is a value got from visual comparison (screen collapses when columns width is smaller than 196.7px, we use x8 factor for design system, so used the closes x8 factor here, which is 200px )Before:
After:
2024-05-03.19.05.04.mov
Links
Testing story
Deployment strategy
Follow-up work
Privacy
Security
Caching
PR Checklist: