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

Ensure UpSet table always scrolls horizontally when needed #321

Merged
merged 3 commits into from
Mar 25, 2024

Conversation

NateLanza
Copy link
Contributor

Does this PR close any open issues?

Closes #286

Give a longer description of what this PR addresses and why it's needed

Previously, the UpSet table behaved as though it had overflow: hidden (in reality, it was simply expanding off the screen & not viewable). By setting a max-width for the body element, the table becomes horizontally scrollable, addressing the issue of sidebars covering the table contents.

Provide pictures/videos of the behavior before and after these changes (optional)

Have you added or updated relevant tests?

  • Yes
  • No changes are needed

Have you added or updated relevant documentation?

  • Yes
  • No changes are needed

Are there any additional TODOs before this PR is ready to go?

TODOs:

  • ...

@NateLanza NateLanza requested a review from JakeWags March 24, 2024 02:11
@NateLanza NateLanza self-assigned this Mar 24, 2024
Copy link

netlify bot commented Mar 24, 2024

Deploy Preview for upset2 ready!

Name Link
🔨 Latest commit 3d97f1d
🔍 Latest deploy log https://app.netlify.com/sites/upset2/deploys/6601a71dc2b6d8000863573a
😎 Deploy Preview https://deploy-preview-321--upset2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@JakeWags JakeWags left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Does this do the same thing when using "100%" rather than "100vw"?

@NateLanza
Copy link
Contributor Author

Approved. Does this do the same thing when using "100%" rather than "100vw"?

Probably! I don't see either option being preferable to the other with the current page architecture.

@NateLanza NateLanza merged commit 3f44d6c into main Mar 25, 2024
7 checks passed
@NateLanza NateLanza deleted the isu286-horizontal-scroll branch March 25, 2024 16:39
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.

Any right sidepanel should adjust the background svg width
2 participants