WordPress / wordpress.org

WordPress.org Meta, Git-ified. Synced from git://meta.git.wordpress.org/ This repository is just a mirror of the WordPress Meta subversion repository. Please include a link to a pre-existing ticket on https://meta.trac.wordpress.org/ with every pull request.
https://meta.trac.wordpress.org/
109 stars 140 forks source link

Plugins: excerpt with new lines break card height #325

Closed pkevan closed 3 months ago

pkevan commented 3 months ago

Plugins with excerpts that contain line breaks alter the overall height of all plugin cards.

Ideally we would either trim the line breaks, or force the height of all cards to not be affected by a single card being larger - unsure which is the preferred path here.

Is there a use-case for having spaces in the excerpt?

Screenshot 2024-06-06 at 09 52 48 Example breakage: https://wordpress.org/plugins/search/wallet-login/

See: https://wordpress.slack.com/archives/C02QB8GMM/p1717656589572789

adamwoodnz commented 3 months ago

I vote for trimming the line breaks, can't see how that could ever be a desirable layout for that text content.