mithi / hexapod

Blazing fast hexapod robot simulator for the web.
https://hexapod.netlify.app
Apache License 2.0
579 stars 70 forks source link

style: Adjust layout on max-width 667px by tweaking `.main` & `.plot` #102

Closed icyJoseph closed 4 years ago

icyJoseph commented 4 years ago

Attempts to account for #93 - though I am not sure I've understood the media queries correctly. Does this fix the use cases you've found?

codecov[bot] commented 4 years ago

Codecov Report

Merging #102 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #102   +/-   ##
=======================================
  Coverage   78.94%   78.94%           
=======================================
  Files          53       53           
  Lines        1216     1216           
  Branches      141      141           
=======================================
  Hits          960      960           
  Misses        223      223           
  Partials       33       33           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0a316bb...e172407. Read the comment docs.

mithi commented 4 years ago

@icyJoseph

It isn't fixed on my end...

Firefox (around 712 px)

Screen Shot 2020-07-03 at 8 20 33 PM

Chrome (around 666 px)

Screen Shot 2020-07-03 at 8 25 44 PM
mithi commented 4 years ago

Another screenshot

Screen Shot 2020-07-03 at 8 37 04 PM
mithi commented 4 years ago

Last one...

Screen Shot 2020-07-03 at 8 39 41 PM
icyJoseph commented 4 years ago

Perfect :D! I was having trouble finding those breakpoints! I'll squash this bug now!

icyJoseph commented 4 years ago

image

What are your thoughts on this layout for the affected widths?

Just pushed the CSS changes so you can test locally.

mithi commented 4 years ago

@icyJoseph awesome! Merging!