From ba9c074dc286addc2e88c11be4f7db3183012f4f Mon Sep 17 00:00:00 2001 From: spiral Date: Wed, 15 Jun 2022 00:08:47 -0400 Subject: [PATCH] feat(dashboard): somewhat better styling of shard status page --- dashboard/src/lib/shard.svelte | 3 +-- dashboard/src/pages/status.svelte | 35 +++++++++++++++++++------------ 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/dashboard/src/lib/shard.svelte b/dashboard/src/lib/shard.svelte index 6acb9f36..c66fc722 100644 --- a/dashboard/src/lib/shard.svelte +++ b/dashboard/src/lib/shard.svelte @@ -48,8 +48,7 @@ .wrapper { height: 55px; width: 55px; - display: block; - float: left; + display: inline-block; } .shard:hover { cursor: pointer; diff --git a/dashboard/src/pages/status.svelte b/dashboard/src/pages/status.svelte index 6a88beb1..3c84c9b9 100644 --- a/dashboard/src/pages/status.svelte +++ b/dashboard/src/pages/status.svelte @@ -96,7 +96,7 @@ - + @@ -157,18 +157,27 @@ {#each Object.keys(clusters) as key} - - - - Cluster {key} - -
- {#each clusters[key] as shard} - - {/each} -
-
+
+ Cluster {key}   + {#each clusters[key] as shard} + + {/each} +
{/each} -
\ No newline at end of file +
+ + \ No newline at end of file