From 6cf7da50895ba8c65084aab1f03efc41c6a2817e Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Sat, 20 Aug 2022 03:32:31 +0300 Subject: [PATCH] improve message bar appearance on small viewports --- frontend/public/global.css | 1 + frontend/src/components/MessageInput.svelte | 21 ++++++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/frontend/public/global.css b/frontend/public/global.css index 13f72a7..2e8c5d4 100644 --- a/frontend/public/global.css +++ b/frontend/public/global.css @@ -36,6 +36,7 @@ --space-unit: 1em; --space-xxs: calc(0.25 * var(--space-unit)); --space-xs: calc(0.5 * var(--space-unit)); + --space-xsplus: calc(0.65 * var(--space-unit)); --space-sm: calc(0.75 * var(--space-unit)); --space-norm: var(--space-unit); --space-normplus: calc(var(--space-unit) + var(--space-sm)); diff --git a/frontend/src/components/MessageInput.svelte b/frontend/src/components/MessageInput.svelte index 313eb85..ac79a2a 100644 --- a/frontend/src/components/MessageInput.svelte +++ b/frontend/src/components/MessageInput.svelte @@ -1,5 +1,5 @@