vortex-5 / ddwrt-bwmon

An Individual Bandwidth Monitor For DD-WRT
171 stars 37 forks source link

Responsive button for mobile layout added #49

Closed J3n50m4t closed 7 years ago

J3n50m4t commented 7 years ago

As @vortex-5 wrote in #48 the layout for mobiles isn't perfect. I added a new responsive class which scales the buttons.

bwmon.css/bwmondark.css

bwmon.html

iPhone5ChromeInspector

vortex-5 commented 7 years ago

Oh that looks better than what I was going to do was to just change the flex box at the bottom to allow for wrapping so it can go multi-line or just to change the flex direction once the screen hits a certain size. I'll give your fix a try on my limited screen devices.

The main advantage to the wrapping is although it looks a bit ugly it will work on every device.

Alas I've been pretty busy lately and haven't had the time to do that one line fix I'll try and code review this so it can be merged when I get home.