ORNL / DataFed

A Federated Scientific Data Management System
https://ornl.github.io/DataFed/
Other
18 stars 14 forks source link

Web - Metadata display in info panel does not wrap long text #482

Closed dvstans closed 4 years ago

dvstans commented 4 years ago

If a field contains a large text document, it is displayed as a single line with huge scroll bars.

dvstans commented 4 years ago

This is a hard-ish problem. Normal html/css wrapping can't be applied because the contents are inside the title fields of a tree widget. The most likely way to address this is to format long fields to limit title width during tree construction.

dvstans commented 4 years ago

Note that this also applies to long arrays.

dvstans commented 4 years ago

Also note that it is possible to inject html into the title of a fancytree node - so it might be possible to wrap values in a div with a max width and text wrapping.

dvstans commented 4 years ago

Fixed. (for metadata tab in info panel only)