-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Long folder names are truncated in file picker #14290
Comments
I'm not aware of an easy way to move the ellipsis to the middle of a string with CSS. Maybe @skjnldsv ? |
@juliushaertl this is not possible with only using css. |
There’s a proposal for middle-cropping at https://www.w3.org/wiki/Text-overflow_middle_cropping, but issues for this are open since 7 years or more. :) What we could do here is simply show the full name on hover as a tooltip. However this should really only happen when the name is too long, because otherwise it’s going to be duplicated. Another idea would be to move away from this table-style view and instead put the size and modified date in a second row. That way the filename can take up more space and it looks more modern. |
I'd like the tooltip as a quick fix for now at least. |
I'll take a look to see if javascript can easily do that. We can even do it in full css 🤔 |
Fix in #14912 |
On iOS this was solved by truncating the middle of the name, which solved that use case, but not the one where the middle part is crucial. See nextcloud/ios#760 by @nikslor. There also the full name is planned to be resolved in full width by a long press click.
any ideas @nextcloud/designers ?
The text was updated successfully, but these errors were encountered: