silx-kit / h5web

React components for data visualization and exploration
https://h5web.panosc.eu/
MIT License
165 stars 17 forks source link

Styling regression in dimension mapper #1598

Closed axelboc closed 3 months ago

axelboc commented 3 months ago

Describe the bug

Looks like #1589 caused a styling regression:

image

It only happens when using @h5web/app as a library - i.e. when importing the viewer's styles from @h5web/app/styles.css (which points to packages/app/dist/styles.css), so there's a problem with how that file is generated. The problem doesn't occur in the demo, where styles are imported from their source - i.e. from packages/app/src/styles.css.

To Reproduce

https://codesandbox.io/p/devbox/h5webapp-vite-5c204