-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Version Switcher Part 3 #47019
Merged
Merged
Version Switcher Part 3 #47019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…witcher, fix horizontal scroll on version switcher Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
peytondmurray
approved these changes
Aug 8, 2024
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.
Awesome, nice cleanup 👍
can-anyscale
approved these changes
Aug 8, 2024
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.
cristianjd
added a commit
that referenced
this pull request
Aug 8, 2024
## Why are these changes needed? A few small follow ups for the version switcher: - move constants to inside the versions JSON generation function - updated height of version switcher to be relative so it scales up with zoom level - changed `overflow` to `overflow-y` to stop the extra horizontal scroll from showing up Before: ![Screenshot 2024-08-08 at 9 56 01 AM](https://github.com/user-attachments/assets/ac94b727-ca20-4c3b-8488-347549d19eca) After: ![Screenshot 2024-08-08 at 10 02 21 AM](https://github.com/user-attachments/assets/05813997-bee1-480a-bbcb-e4f02ac88a99) Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
cristianjd
added a commit
that referenced
this pull request
Aug 8, 2024
## Why are these changes needed? A few small follow ups for the version switcher: - move constants to inside the versions JSON generation function - updated height of version switcher to be relative so it scales up with zoom level - changed `overflow` to `overflow-y` to stop the extra horizontal scroll from showing up Before: ![Screenshot 2024-08-08 at 9 56 01 AM](https://github.com/user-attachments/assets/ac94b727-ca20-4c3b-8488-347549d19eca) After: ![Screenshot 2024-08-08 at 10 02 21 AM](https://github.com/user-attachments/assets/05813997-bee1-480a-bbcb-e4f02ac88a99) Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
cristianjd
added a commit
that referenced
this pull request
Aug 8, 2024
## Why are these changes needed? A few small follow ups for the version switcher: - move constants to inside the versions JSON generation function - updated height of version switcher to be relative so it scales up with zoom level - changed `overflow` to `overflow-y` to stop the extra horizontal scroll from showing up Before: ![Screenshot 2024-08-08 at 9 56 01 AM](https://github.com/user-attachments/assets/ac94b727-ca20-4c3b-8488-347549d19eca) After: ![Screenshot 2024-08-08 at 10 02 21 AM](https://github.com/user-attachments/assets/05813997-bee1-480a-bbcb-e4f02ac88a99) Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
cristianjd
added a commit
that referenced
this pull request
Aug 8, 2024
## Why are these changes needed? A few small follow ups for the version switcher: - move constants to inside the versions JSON generation function - updated height of version switcher to be relative so it scales up with zoom level - changed `overflow` to `overflow-y` to stop the extra horizontal scroll from showing up Before: ![Screenshot 2024-08-08 at 9 56 01 AM](https://github.com/user-attachments/assets/ac94b727-ca20-4c3b-8488-347549d19eca) After: ![Screenshot 2024-08-08 at 10 02 21 AM](https://github.com/user-attachments/assets/05813997-bee1-480a-bbcb-e4f02ac88a99) Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
cristianjd
added a commit
that referenced
this pull request
Aug 8, 2024
## Why are these changes needed? A few small follow ups for the version switcher: - move constants to inside the versions JSON generation function - updated height of version switcher to be relative so it scales up with zoom level - changed `overflow` to `overflow-y` to stop the extra horizontal scroll from showing up Before: ![Screenshot 2024-08-08 at 9 56 01 AM](https://github.com/user-attachments/assets/ac94b727-ca20-4c3b-8488-347549d19eca) After: ![Screenshot 2024-08-08 at 10 02 21 AM](https://github.com/user-attachments/assets/05813997-bee1-480a-bbcb-e4f02ac88a99) Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
dev-goyal
pushed a commit
to dev-goyal/ray
that referenced
this pull request
Aug 8, 2024
## Why are these changes needed? A few small follow ups for the version switcher: - move constants to inside the versions JSON generation function - updated height of version switcher to be relative so it scales up with zoom level - changed `overflow` to `overflow-y` to stop the extra horizontal scroll from showing up Before: ![Screenshot 2024-08-08 at 9 56 01 AM](https://github.com/user-attachments/assets/ac94b727-ca20-4c3b-8488-347549d19eca) After: ![Screenshot 2024-08-08 at 10 02 21 AM](https://github.com/user-attachments/assets/05813997-bee1-480a-bbcb-e4f02ac88a99) Signed-off-by: cristianjd <cristian.j.derr@gmail.com> Signed-off-by: Dev <dev.goyal@hinge.co>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why are these changes needed?
A few small follow ups for the version switcher:
overflow
tooverflow-y
to stop the extra horizontal scroll from showing upBefore:
After:
Related issue number
Relevant issues already closed
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.