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

Treat asset description text as pre-formatted #908

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

null-dev
Copy link
Contributor

Display asset description text with whitespace-pre-wrap on asset page. This displays newlines in the asset description while still maintaining text wrapping.

Feel free to close if you have a reason why this shouldn't be the case though!

Old behavior:
Screenshot_20240413_221546

New behavior:
Screenshot_20240413_221635

Display asset description text with `whitespace-pre-wrap` on asset page.

This allows newlines in the asset description to display properly.
@null-dev null-dev marked this pull request as ready for review April 14, 2024 02:18
@carlosvirreira
Copy link
Contributor

Thank you @null-dev !

@DonKoko
Copy link
Contributor

DonKoko commented Apr 15, 2024

hey @null-dev. Thanks for your PR and contribution.
That's an awesome update. I honestly didn't even know about this css property.

@DonKoko DonKoko merged commit bc5928c into Shelf-nu:main Apr 15, 2024
4 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.

None yet

3 participants