nomad-coe/nomad

Files preview needs a horizontal scroll bar

Closed this issue · 1 comments

In the current state, the files preview tool cuts long lines without an possibility to scroll to the right (see the attached screenshot from the tabular data sample dataset).
The issue could be fixed by either adding a horizontal scroll bar or by automatically wrapping long lines.
Currently the only workaround would be to download such files.
Screenshot_20240220_164944_NOMAD_file_preview

NOMAD version: Latest Docker image (279c097945fe), i.e. 1.2.2.dev357+g15b7cd2e1

Thanks you for posting this problem.

There is no obvious fix to this, as the infinite scroll situation makes in complicated. While its hard to show a horizontal scrollbar, at least, we have an MR now that will allow to use shift+scrollwheel gestures. I hope this solves this issue for most practical purposes.

https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/-/merge_requests/1934