From cb080d3a9f33225c7654c6d3dfbb2bd19bce7af7 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 7 Sep 2025 23:33:04 +0200 Subject: [PATCH] Fix HTML5 GUI spacing --- tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino b/tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino index 1fa09afa6..2c7d01cc0 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino @@ -1451,7 +1451,7 @@ void HandleRoot(void) { WSContentSend_P(HTTP_SCRIPT_ROOT_PART2); WSContentSendStyle(); - WSContentSend_P(PSTR("

")); + WSContentSend_P(PSTR("
")); #ifndef FIRMWARE_MINIMAL @@ -1683,7 +1683,6 @@ void HandleRoot(void) { } // Init buttons - WSContentSend_P(PSTR("")); + if (use_script) { + WSContentSend_P(PSTR("")); + } XdrvXsnsCall(FUNC_WEB_ADD_MAIN_BUTTON); #endif // Not FIRMWARE_MINIMAL