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

Add horizontal scrollbar to tables #1037

Closed
simonw opened this issue Oct 21, 2020 · 3 comments
Closed

Add horizontal scrollbar to tables #1037

simonw opened this issue Oct 21, 2020 · 3 comments

Comments

@simonw
Copy link
Owner

simonw commented Oct 21, 2020

Currently you have to scroll the entire page sideways if a table is wide. Make the table overflow-x: auto instead.

@simonw
Copy link
Owner Author

simonw commented Oct 21, 2020

This is particularly relevant to the datasette-cluster-map plugin - the map is much nicer to use if the table itself can be scrolled.

That plugin also makes this harder to build, because the plugin inserts the map as the direct predecessor of the <table> element and hence breaks if you try to wrap that in a <div>.

@simonw
Copy link
Owner Author

simonw commented Oct 21, 2020

This may require updates to the column action menu JavaScript too, since it was not built with scrolling sideways in mind.

@simonw
Copy link
Owner Author

simonw commented Oct 21, 2020

Dupe of #998.

@simonw simonw closed this as completed Oct 21, 2020
@simonw simonw added this to the 0.51 milestone Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant