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

[4.x]: The uploader name overflows in asset modal windows #13099

Closed
MoritzLost opened this issue Apr 19, 2023 · 3 comments
Closed

[4.x]: The uploader name overflows in asset modal windows #13099

MoritzLost opened this issue Apr 19, 2023 · 3 comments
Assignees

Comments

@MoritzLost
Copy link
Contributor

What happened?

Description

When opening a model window for a related asset, the uploader's name or email address overflows and is cut off by the window if it is longer than the window:

Screenshot 2023-04-19 at 15 09 12

This happens with long email addresses (if the account doesn't have a name), but also with very long names. If the name includes spaces, it can break into a new line, but a single word overflows.

Steps to reproduce

  1. Set the name of an account to a long string without spaces.
  2. Open an asset uploaded by that account in a modal window.

Expected behavior

The email should either be forced to break into a new line, or be cut off in a way that looks more intentional – for example, by using text-overflow: ellipsis;.

Craft CMS version

4.4.4

PHP version

8.2

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

@i-just
Copy link
Contributor

i-just commented Apr 19, 2023

Hi, thanks for reporting. I raised a PR for this.

@brandonkelly
Copy link
Member

This is now fixed for the next Craft 3 and 4 releases. Thanks again!

@brandonkelly
Copy link
Member

Craft 3.8.8 and 4.4.8 are out with the fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants