nomad-coe / nomad

NOMAD lets you manage and share your materials science data in a way that makes it truly useful to you, your group, and the community.
https://nomad-lab.eu
Apache License 2.0
77 stars 19 forks source link

Files preview needs a horizontal scroll bar #97

Closed behnle closed 5 months ago

behnle commented 9 months ago

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

markus1978 commented 5 months ago

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