CARTAvis / carta-frontend

Source code repository for the frontend component of CARTA, a new visualization tool designed for the ALMA, the VLA and the SKA pathfinders.
https://cartavis.github.io/
GNU General Public License v3.0
19 stars 10 forks source link

Z profiler components are hidden when small panel width #1600

Open YuHsuan-Hwang opened 3 years ago

YuHsuan-Hwang commented 3 years ago

image

kswang1029 commented 3 years ago

One possible solution would be we add responsive layout support. If the widget width is not enough to show all components properly, we switch to a vertical layout for those dropdown menus.

carta_z_profile_layout

Alternatively, we can change to the vertical layout completely regardless the width of the widget for simplicity from implementation point of view.

If either the idea is feasible, the same idea should be applied to the spatial profiler widget.