Skip to content

Commit

Permalink
Increase html font text size
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelbles07 committed Dec 7, 2024
1 parent 6b6116a commit 3162030
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/OneOpenAir/LocalServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ String LocalServer::htmlDashboard(String timestamp) {
page += " .datetime-container input[type=\"datetime-local\"] {";
page += " margin-left: 10px;";
page += " padding: 5px;";
page += " font-size: 14px;";
page += " font-size: 16px;";
page += " }";
page += " button.reset-button {";
page += " background-color: red;";
Expand Down Expand Up @@ -232,6 +232,9 @@ String LocalServer::htmlResponse(String body, bool redirect) {
page += "<!DOCTYPE HTML>";
page += "<html lang=\"en-US\">";
page += " <head>";
page += "<style>";
page += "p { font-size: 22px; }";
page += "</style>";
page += " <meta charset=\"UTF-8\">";

if (redirect) {
Expand All @@ -241,7 +244,9 @@ String LocalServer::htmlResponse(String body, bool redirect) {
page += " <title>Page Redirection</title>";
page += " </head>";
page += " <body>";
page += " <p>";
page += body;
page += " </p>";
page += " </body>";
page += "</html>";

Expand Down

0 comments on commit 3162030

Please sign in to comment.