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

fix: Fix DataDoc contents overflow in non-Chrome browsers #1332

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

baumandm
Copy link
Contributor

@baumandm baumandm commented Sep 20, 2023

DataDocs with wide result tables cause the entire page to scroll horizontally:

Before:
Screenshot 2023-09-20 at 16-58-53 World Happiness Report (2015-2019) - Querybook

This isn't an issue in Chrome because there's a special case hardcoded for it in DataDocContentContainer.

This PR fixes the issue by enabling overflow for .data-doc-content-container, and doesn't break anything for Chrome.

Tested this change in Firefox and Safari.

After:
Screenshot 2023-09-20 at 17-09-32 World Happiness Report (2015-2019) - Querybook

@jczhong84 jczhong84 merged commit 18c86a6 into pinterest:master Sep 20, 2023
@baumandm baumandm deleted the external/overflow-x branch September 21, 2023 13:29
jczhong84 added a commit to jczhong84/querybook that referenced this pull request Sep 21, 2023
jczhong84 added a commit that referenced this pull request Sep 21, 2023
aidenprice pushed a commit to arrowtail-precision/querybook that referenced this pull request Jan 3, 2024
aidenprice pushed a commit to arrowtail-precision/querybook that referenced this pull request Jan 3, 2024
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.

2 participants