Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 7072eea

Browse files
committed
set viewport scaling for mobile devices
1 parent c8309b1 commit 7072eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ESP_WiFiManager_Lite.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ extern ESP_WM_LITE_Configuration defaultConfig;
400400

401401
// -- HTML page fragments
402402

403-
const char ESP_WM_LITE_HTML_HEAD_START[] /*PROGMEM*/ = "<!DOCTYPE html><html><head><title>ESP_WM_LITE</title>";
403+
const char ESP_WM_LITE_HTML_HEAD_START[] /*PROGMEM*/ = "<!DOCTYPE html><html><head><title>ESP_WM_LITE</title><meta name='viewport' content='width=device-width, initial-scale=1'>";
404404

405405
const char ESP_WM_LITE_HTML_HEAD_STYLE[] /*PROGMEM*/ =
406406
"<style>div,input{padding:5px;font-size:1em;}input{width:95%;}body{text-align: center;}button{background-color:#16A1E7;color:#fff;line-height:2.4rem;font-size:1.2rem;width:100%;}fieldset{border-radius:0.3rem;margin:0px;}</style>";

0 commit comments

Comments
 (0)