scaife-viewer / frontend

Skeleton, Widgets, and other frontend packages for the Scaife Viewer
0 stars 3 forks source link

Improve UX on library widget #4

Closed jacobwegner closed 2 years ago

jacobwegner commented 4 years ago

Consider applying text-overflow: ellipsis to the labels and adding the full label to the element's title attr.

This would prevent needless wrapping in the library widget, but still allow readers to access the "full" label value when there are similarly named versions.

see also https://github.com/scaife-viewer/explorehomer/commit/51f135268ce279d663b1dddd48c67216dae3d2e1

jacobwegner commented 3 years ago

@jtauber this is ready for review via https://deploy-preview-47--sv-mini.netlify.app/reader/urn:cts:greekLit:tlg0012.tlg001.perseus-grc2:1.1-1.7

image.png