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

Extending the thumbnail label to reveal more text #758

Open
1 of 3 tasks
WilsonAndrewWilson opened this issue Sep 23, 2020 · 2 comments
Open
1 of 3 tasks

Extending the thumbnail label to reveal more text #758

WilsonAndrewWilson opened this issue Sep 23, 2020 · 2 comments

Comments

@WilsonAndrewWilson
Copy link

UV version:

 universalviewer@4.0.0-pre.12 (although affects all)

I'm submitting a:

Current behavior:

Currently, only a small part of thumbnail label text appears in the contents tab in UV. CSS is used to hide the overflow:

#app .leftPanel .views .thumbsView .thumbs .thumb .info .label {
    float: left;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

Is it possible to either have a configurable option to "show full labels", or default to showing more of the label. Not sure the effects on just changing the CSS - I'm currently experimenting with the following, although not perfect (and seem to have a weird thing where the thumbs aren't appearing 2-up any more!).

overflow-x: visible;
 text-overflow: inherit;
 white-space: break-spaces;

Expected behavior:

The entire label appears.

Steps to reproduce:

https://universalviewer.io/uv.html?manifest=https://collections.st-andrews.ac.uk/762295/manifest?manifest=https://collections.st-andrews.ac.uk/762295/manifest#?c=0&m=0&s=0&cv=0&xywh=-3432%2C-425%2C15366%2C8463

@LlGC-szw
Copy link

All issues will be triaged for further investigation or closure by the 28 September 2023. If your issue is still relevant and would like for it be investigated further please comment by 14 September 2023.

@thattonBL
Copy link
Contributor

Still active. Yeah I can see how this is not a good user experience from the example. See the thumbnail labels. I suppose this could be slightly mitigated by adding the Index tab in config.

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

4 participants