Azure / azure-iot-explorer

Cross-platform UI for interacting with devices attached to Azure IoT Hub. This tool is meant for learning and testing, not for production environment.
MIT License
224 stars 73 forks source link

Ying/css grids #517

Closed YingXue closed 2 years ago

YingXue commented 2 years ago

We have a huge debt of CSS in this project. This PR is to get rid of the outdated floats that we used for our left nav and tranform it into css grids. It is pretty straightforward:

  1. The main page is a grid layout with three rows: top- the black header, a breadcrum and the main area
  2. If there is a left nav needed, the main area is another grid with 2 columns, the left nav and the main content
  3. We get rid of a lot of unnecessary width and height compute as well as cleaned up some scrolls all over the place