-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
docs: place the playground button in the bottom right corner #17848
Conversation
✅ Deploy Preview for docs-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@fasttime Yes, to avoid overlapping with other content on a small screen. But it shouldn't be found in a normal code block. now adjusted.
@mdjermanovic I fixed it. The scrollbar now no longer overlaps the buttons. |
There's nothing wrong with its position, but it doesn't look very good. Do I need to adjust these scrollbars to macOS-like thin scroll bars? Sorry for accidentally closed. |
i like the last design and instead of keeping that playground button in the code block we can place it to the correct/incorrect block with the |
This PR was just to move the button -- there's no good reason to change the overall design of the correct/incorrect code examples. If we can't agree on moving the button, then we should just close this PR. |
Yes we need to consider. Boz of this issue we decided to place the button inside the block in #17403 |
comment, as per this comment it is okay if button overlaps the things which can't be clicked. |
Folks - this discussion has been going on for a while, so my vote is just to leave the button as-is. If it was an easy fix, that would be one thing, but we're continuing to run into edge cases and I just don't think it's worth the effort to continue down this path. Thoughts? |
I'd also vote on keeping the same layout 👍🏻 |
All right, let's just keep what we have. I appreciate the suggestions and work, but let's move on to more interesting problems. :) |
Prerequisites checklist
What is the purpose of this pull request? (put an "X" next to an item)
[x] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:
What changes did you make? (Give an overview)
Removes large white space from the code block.
Is there anything you'd like reviewers to focus on?