Gui tuning

This commit is contained in:
Theo Arends 2024-11-11 16:26:07 +01:00
parent a013c7e36d
commit 6c4e314adc
1 changed files with 2 additions and 2 deletions

View File

@ -989,7 +989,7 @@ void WSContentButton(uint32_t title_index, bool show=true) {
}
void WSContentSpaceButton(uint32_t title_index, bool show=true) {
WSContentSend_P(PSTR("<div id=but%dd style=\"display: %s;\"></div>"),title_index, show ? "block":"none"); // 5px padding
WSContentSend_P(PSTR("<div></div>")); // 5px padding
WSContentButton(title_index, show);
}
@ -1230,7 +1230,7 @@ void HandleRoot(void) {
WSContentSend_P(HTTP_SCRIPT_ROOT_PART2);
WSContentSendStyle();
WSContentSend_P(PSTR("<div style='padding:0;' id='l1' name='l1'></div>"));
WSContentSend_P(PSTR("<div style='padding:0;' id='l1' name='l1'></div><div></div>"));
#ifndef FIRMWARE_MINIMAL