Make webserver more compact

This commit is contained in:
Daniel Öster 2025-06-16 23:34:06 +03:00
parent 2e317d9d1c
commit ec2d871475
3 changed files with 10 additions and 7 deletions

View file

@ -84,6 +84,7 @@ String advanced_battery_processor(const String& var) {
"button { background-color: #505E67; color: white; border: none; padding: 10px 20px; margin-bottom: 20px; "
"cursor: pointer; border-radius: 10px; }";
content += "button:hover { background-color: #3A4A52; }";
content += "h4 { margin: 0.6em 0; line-height: 1.2; }";
content += "</style>";
content += "<button onclick='goToMainPage()'>Back to main page</button>";