diff --git a/gui/dashboard/app.svelte b/gui/dashboard/app.svelte
index 5d6664d..0b6c47d 100644
--- a/gui/dashboard/app.svelte
+++ b/gui/dashboard/app.svelte
@@ -111,33 +111,35 @@
-
-
- {#each tiles as tile (tile.id)}
-
-
-
- {/each}
-
+
+ {#each tiles as tile (tile.id)}
+
+
+
+ {/each}
+
-
+
@@ -154,24 +156,14 @@
}
.ratio {
- height: 56.25vw;
+ height: calc(56.25vw - 2rem);
left: 50%;
- max-height: 100vh;
- max-width: 177.77778vh;
+ max-height: calc(100vh - 2rem);
+ max-width: calc(177.77778vh - 2rem);
position: absolute;
top: 50%;
transform: translate(-50%,-50%);
- width: 100vw;
- margin: 1rem 0;
- display: flex;
- justify-content: center;
- }
-
- .content {
- display: grid;
- grid-template-rows: 1fr 40px;
- gap: 0.5rem;
- width: calc(100% - 2rem);
+ width: calc(100vw - 2rem);
}
.tiles {
@@ -179,7 +171,9 @@
grid-template-columns: repeat(var(--cols), 1fr);
grid-template-rows: repeat(var(--rows), 1fr);
gap: 1rem;
- justify-items: stretch;
+ align-items: stretch;
+ justify-content: stretch;
+ height: calc(100% - 50px);
}
.tiles > * {
@@ -194,13 +188,15 @@
.footer {
display: flex;
justify-content: space-between;
+ height: 50px;
+ font-size: 1.2em;
}
.pagination em {
display: inline-block;
margin-left: 0.5rem;
- height: 5px;
- width: 5px;
+ height: 10px;
+ width: 10px;
border-radius: 5px;
background-color: #fff;
opacity: 0.4;
diff --git a/gui/dashboard/lib.js b/gui/dashboard/lib.js
index 0b7d250..3ca09da 100644
--- a/gui/dashboard/lib.js
+++ b/gui/dashboard/lib.js
@@ -7,6 +7,7 @@ function createSettingsStore() {
theme: 'dark',
cols: 4,
rows: 3,
+ fontSize: 1,
};
const s = writable(defaults);
diff --git a/gui/dashboard/modal.svelte b/gui/dashboard/modal.svelte
index 3e59bf8..d30339e 100644
--- a/gui/dashboard/modal.svelte
+++ b/gui/dashboard/modal.svelte
@@ -50,6 +50,7 @@
max-width: 500px;
z-index: 11;
color: var(--body-fg);
+ font-size: 1.1rem;
}
.header {
diff --git a/gui/dashboard/settings.svelte b/gui/dashboard/settings.svelte
index 1038f39..a770dfd 100644
--- a/gui/dashboard/settings.svelte
+++ b/gui/dashboard/settings.svelte
@@ -44,12 +44,17 @@
+
+
diff --git a/gui/dashboard/tile-rawvalue.svelte b/gui/dashboard/tile-rawvalue.svelte
index 3654f74..1894b3f 100644
--- a/gui/dashboard/tile-rawvalue.svelte
+++ b/gui/dashboard/tile-rawvalue.svelte
@@ -18,7 +18,7 @@