diff options
Diffstat (limited to 'ui/routes/(app)/ch')
| -rw-r--r-- | ui/routes/(app)/ch/[channel]/+page.svelte | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/routes/(app)/ch/[channel]/+page.svelte b/ui/routes/(app)/ch/[channel]/+page.svelte index 74ad28b..2c1b40a 100644 --- a/ui/routes/(app)/ch/[channel]/+page.svelte +++ b/ui/routes/(app)/ch/[channel]/+page.svelte @@ -1,6 +1,7 @@ <script> import { page } from '$app/stores'; import ActiveChannel from '$lib/components/ActiveChannel.svelte'; + import MessageInput from '$lib/components/MessageInput.svelte'; $: channel = $page?.params?.channel; </script> @@ -8,3 +9,15 @@ <div class="active-channel"> <ActiveChannel {channel} /> </div> +<div class="create-message max-h-full"> + <MessageInput {channel} /> +</div> + +<style> + .active-channel { + height: calc( + 100vh - var(--app-bar-height) - var(--interface-padding) - var(--input-row-height) + ); + overflow: auto; + } +</style> |
