From 15aaf264893def0b5fce79fb562ac0cca9ea8338 Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Mon, 15 May 2023 18:06:32 +0200 Subject: [PATCH] Fix css --- frontend/src/App.svelte | 26 +------------------------- frontend/src/assets/app.css | 1 - 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index 88c6a05..fc60e8b 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -2,27 +2,11 @@ import ChatApp from './lib/ChatApp.svelte'; import BackButton from "./lib/BackButton.svelte"; import "./assets/app.css" - import { onMount } from 'svelte'; - - let isKeyboardActive = false; - - function handleResize() { - const isVirtualKeyboardActive = window.innerHeight < window.outerHeight; - isKeyboardActive = isVirtualKeyboardActive; - } - - onMount(() => { - window.addEventListener('resize', handleResize); - return () => { - window.removeEventListener('resize', handleResize); - }; - }); -
- +
@@ -31,13 +15,5 @@
diff --git a/frontend/src/assets/app.css b/frontend/src/assets/app.css index 74b16f5..df91099 100644 --- a/frontend/src/assets/app.css +++ b/frontend/src/assets/app.css @@ -10,7 +10,6 @@ position: absolute; bottom: 0; width: 100%; - height: 2.5rem; /* Footer height */ border-top: lightgray 1px solid; }