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 word break in facets by adding ul.tight-bullets li word-break: break-all #1794

Merged
merged 1 commit into from
Sep 6, 2022

Conversation

dmr
Copy link
Contributor

@dmr dmr commented Aug 27, 2022

I noticed that long words break the layout of facets:

image

So I added CSS to add a line break. This is how the result looks now:

image

I don't know enough about facet edge cases to decide if this change might break other things but it looks better for me so maybe this is helpful.


📚 Documentation preview 📚: https://datasette--1794.org.readthedocs.build/en/1794/

@simonw
Copy link
Owner

simonw commented Sep 6, 2022

Thanks for this - I've seen this issue too. Good fix.

@simonw simonw merged commit c9d1943 into simonw:main Sep 6, 2022
simonw added a commit that referenced this pull request Sep 26, 2022
@simonw simonw mentioned this pull request Sep 26, 2022
@simonw simonw mentioned this pull request Oct 27, 2022
simonw added a commit that referenced this pull request Oct 27, 2022
simonw added a commit that referenced this pull request Oct 28, 2022
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