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

Default theme should use word-wrap in tables #806

Open
zleonov opened this issue May 10, 2023 · 0 comments
Open

Default theme should use word-wrap in tables #806

zleonov opened this issue May 10, 2023 · 0 comments

Comments

@zleonov
Copy link

zleonov commented May 10, 2023

Long field names overflow the width of the table columns resulting in erroneous output (picture attached). I use the dark theme (https://github.com/anvilco/spectaql-dark-theme) which is based on the default theme. This is true for both themes.

specta-overflow

I added the following custom styling to custom.scss: table { word-wrap: break-word }. That did the trick. It's important to use the "break-word" property since field names don't contain spaces. But this should probably be added to the default theme, and probably there is a better way to do it.

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

No branches or pull requests

1 participant