Skip to content

Extending the thumbnail label to reveal more text #758

Description

@WilsonAndrewWilson

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions