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

chat styling tweaks. #96

Merged
merged 1 commit into from
Aug 5, 2023
Merged

Conversation

dexterousdex
Copy link

CSS styling tweaks to improve the chat experience (especially on mobile).

Prior to this change, long strings, e.g. URLs caused the chat container to grow wider than the screen, with no way to see the content off the screen. max-width, prevents this. The addition of the overflow-wrap setting, means that long strings (e.g. URLs) are fully visible (split over multiple lines)

Left aligned the text to make it easier to read (IMO).

image

Also includes a benign refactor to move styling from HTML to CSS.

@dimbleby dimbleby merged commit eb5cff9 into dimbleby:main Aug 5, 2023
2 checks passed
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