From 391ef3ab2ec6767177be225f30b94141fb331caa Mon Sep 17 00:00:00 2001 From: RaffaelW Date: Fri, 20 Dec 2024 22:08:42 +0100 Subject: [PATCH] replaced text buttons with icons --- data/index.html | 17 +++++++++++------ data/style.css | 17 +++++++++++------ 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/data/index.html b/data/index.html index 6d0e944..cd215a1 100644 --- a/data/index.html +++ b/data/index.html @@ -40,11 +40,20 @@ PSRAM: % Uptime: - + -

+
+

+
+ +
+
@@ -109,10 +118,6 @@
- -
- -
diff --git a/data/style.css b/data/style.css index e6d1123..365f982 100644 --- a/data/style.css +++ b/data/style.css @@ -168,6 +168,17 @@ dialog::backdrop { background-color: #000a; } +.dialog-header { + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + + & button { + margin: 0; + } +} + .card { background-color: var(--color-surface); padding: 8px; @@ -297,12 +308,6 @@ div:has(.range-value) { gap: 8px; } -.dialog-status button { - display: block; - margin: 0 auto; - margin-top: 32px; -} - .connection-icon { width: 24px; height: 24px;