Public Lab

Make Graph div responsive

In spectral-workbench.js for capture part we have set the graph width to 1024px here : https://github.com/publiclab/spectral-workbench.js/blob/main/examples/capture/capture.css. But it won't work properly for every window size. We need to set the width using the media query to make it work for different screen sizes.

Issue Link: https://github.com/publiclab/spectral-workbench.js/issues/110

Task tags

  • media-query
  • medium
  • html
  • css

Students who completed this task

symt

Task type

  • code Code
  • done_all Quality Assurance

Level

Beginner
close

2019