From b43f50bf24a31be24d0b8149dd0a105f225aac7b Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Tue, 12 Jul 2022 12:46:53 +0200 Subject: [PATCH] Tile time to bottom Signed-off-by: Romein van Buren --- gui/dashboard/tile.svelte | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gui/dashboard/tile.svelte b/gui/dashboard/tile.svelte index 7268cff..365b3f2 100644 --- a/gui/dashboard/tile.svelte +++ b/gui/dashboard/tile.svelte @@ -46,9 +46,8 @@
{#if date || since}
- {formattedDate} - {#if date && since}
{/if} - {formattedDuration} + {#if formattedDate}
{formattedDate}
{/if} + {#if formattedDuration}
{formattedDuration}
{/if}
{/if} @@ -110,11 +109,13 @@ } .bottom .time { - margin-left: auto; + margin: auto 0 0 auto; opacity: 0.6; - margin-left: auto; font-size: 1.3vw; text-align: right; + display: flex; + align-items: flex-end; + flex-direction: column; } .bottom .content {