From 0675b417cb6f55edf1f1bdb59c26752e3c6b374f Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Sun, 5 Jan 2025 15:57:59 -0500 Subject: Handle no-channel-selected better --- ui/app.css | 13 +++++++++++++ ui/routes/(app)/+page.svelte | 5 +++++ 2 files changed, 18 insertions(+) (limited to 'ui') diff --git a/ui/app.css b/ui/app.css index 27086e7..2df588e 100644 --- a/ui/app.css +++ b/ui/app.css @@ -19,6 +19,19 @@ hr { width: 90%; } +.no-active-channel { + display: table; + height: 100%; + width: 100%; + text-align: center; +} + +.vertical-aligner { + display: table-cell; + vertical-align: middle; + font-style: italic; +} + /* TODO: * put this somewhere appropriate, * use a correct variable, diff --git a/ui/routes/(app)/+page.svelte b/ui/routes/(app)/+page.svelte index e69de29..e15bca8 100644 --- a/ui/routes/(app)/+page.svelte +++ b/ui/routes/(app)/+page.svelte @@ -0,0 +1,5 @@ +
+ + Please select or create a channel. + +
-- cgit v1.2.3