Update for smaller displays

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
sentinel
Normal user
Posts: 55
Joined: 02 Dec 2017, 17:40

Update for smaller displays

#1 Post by sentinel » 24 Mar 2018, 16:17

Hi,
I have a proposal on the enhancement #1026 done some time ago:
Can we replace part of the css in WebServer.ino with the following:

Code: Select all

"@media screen and (max-width: 780px) {"
".bodymenu{  margin-top: 11px; margin: 0px;}"
".headermenu{  position: relative;   height: auto;   float: left;   width: 100%;   padding: 0px; }"
".headermenu h1{  padding: 8px 12px; }"
".menubar{  top: 0px;   position: relative;   float: left;   width: 100%; }"
The differences are:
- setting 780px instead of 960 --> will change just when "Tools" on the menu gets close to the edge of the window
- instead of showing the menu items one below the other, they show like in the attachment
Attachments
menu.png
menu.png (6.05 KiB) Viewed 4207 times

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Update for smaller displays

#2 Post by grovkillen » 24 Mar 2018, 16:32

Add this suggestion to Github. Looks good.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

sentinel
Normal user
Posts: 55
Joined: 02 Dec 2017, 17:40

Re: Update for smaller displays

#3 Post by sentinel » 24 Mar 2018, 17:36

this is my first addition. I don't think I am doing it correctly... I don't want to destroy something. Can you please take a look and help:
https://github.com/letscontrolit/ESPEas ... 67/commits

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Update for smaller displays

#4 Post by grovkillen » 24 Mar 2018, 17:46

Just create an issue and add your suggested changes as code in the message or add it as a GistSnippet.

The commit is not correct and should be closed.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

sentinel
Normal user
Posts: 55
Joined: 02 Dec 2017, 17:40

Re: Update for smaller displays

#5 Post by sentinel » 24 Mar 2018, 17:58

thanks for your quick reply!
I have done it: #1168

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Update for smaller displays

#6 Post by grovkillen » 24 Mar 2018, 18:05

Great, looks as is it should look like :)
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: No registered users and 73 guests