Skip to content

Commit 9e3e90b

Browse files
committed
fixing ui glitch
1 parent def82ff commit 9e3e90b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

data/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
rowDiv.setAttribute("style", "text-align: right;");
222222
rowDiv.style.marginLeft = "10px";
223223
rowDiv.style.marginRight = "10px";
224-
rowDiv.style.width = "800px";
224+
rowDiv.style.width = "850px";
225225
rowDiv.style.border = "thick solid lightblue";
226226
rowDiv.style.background = "lightblue";
227227
//--- field Name ---

restAPI.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ void sendDeviceSettings()
210210
//sendJsonSettingObj("float", settingFloat, "f", 0, 10, 5);
211211
//sendJsonSettingObj("intager", settingInteger , "i", 2, 60);
212212

213-
sendJsonSettingObj("hostname", CSTR(settingHostname), "s", 64);
214-
sendJsonSettingObj("mqttbroker", CSTR(settingMQTTbroker), "s", 64);
213+
sendJsonSettingObj("hostname", CSTR(settingHostname), "s", 32);
214+
sendJsonSettingObj("mqttbroker", CSTR(settingMQTTbroker), "s", 32);
215215
sendJsonSettingObj("mqttbrokerport", settingMQTTbrokerPort, "i", 0, 65535);
216216
sendJsonSettingObj("mqttuser", CSTR(settingMQTTuser), "s", 32);
217217
sendJsonSettingObj("mqttpasswd", CSTR(settingMQTTpasswd), "s", 32);

0 commit comments

Comments
 (0)