ltalirz / atomistic-software

Tracking citations of atomistic simulation engines
https://atomistic.software
GNU Affero General Public License v3.0
19 stars 12 forks source link

plot does not expand when window size changed #62

Open kjappelbaum opened 3 years ago

kjappelbaum commented 3 years ago

work a bit on half screen then expanded to full screen but the plot did not follow.

using Brave Version 1.24.82 Chromium: 90.0.4430.93 (Official Build) (x86_64)

Screen Shot 2021-05-08 at 14 20 58
ltalirz commented 3 years ago

I have seen this behavior as well; I believe I've fixed the main problem (line and plot becoming disassociated). However, I definitely still have cases where resizing the browser window, followed by reloading the page results in a change of layout (less severe).

I'm not entirely sure whether that is acceptable behavior in react; perhaps it indicates some remaining issue with the nivo plots.

ltalirz commented 2 years ago

Just noticed that reducing the width of the browser window on https://atomistic.software/#/charts/Gaussian

does not result in reducing the width of the graph (for the statistics view instead it works). When reloading the page, however, the graph adjusts to the width of the window.

This applies across firefox, edge, chrome, etc.

This is a bug, and after fixing this we can close this issue