wangqianwen0418 / DRAVA

https://qianwen.info/DRAVA
5 stars 2 forks source link

feat: update the size of gosling visualization upon window resize #2

Closed sehilyi closed 2 years ago

sehilyi commented 2 years ago

The main change in this PR is automatically updating the size of visualization components, i.e., gosling visualization on the left and histograms on the right, upon resizing the browser window.

In addition, I adjusted the height of the gosling visualization to fit into the given space so that the entire page does not overflow.

Lastly, I adjusted some appearance of gosling visualizations (e.g., color, track arrangements, spacing). Hope this does not mess up your initial design.

I made such changes while getting familiar with the front-end codes. I assumed these can be helpful changes, but please feel free to give any comments. I am willing to revert any changes back if needed.

wangqianwen0418 commented 2 years ago

The changes look great and thanks for making the app responsive!