From dc80804241c5963720bd04724385fdb7ecb3845f Mon Sep 17 00:00:00 2001 From: Christian Rute Date: Wed, 30 Oct 2024 17:17:02 +0100 Subject: [PATCH] checkpoint chat --- client/css/styles.css | 16 +++++++++++----- client/welcome.html | 22 +++++++++++++++++++++- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/client/css/styles.css b/client/css/styles.css index 86d495a..5f0cbde 100644 --- a/client/css/styles.css +++ b/client/css/styles.css @@ -4,7 +4,7 @@ body { display: flex; justify-content: center; align-items: center; - height: 100vh; + /* height: 100vh;*/ margin: 0; background-color: #e9ecef; } @@ -89,6 +89,7 @@ button:hover { /* Header Layout */ .header { + z-index: 10; display: flex; justify-content: space-between; align-items: center; @@ -149,6 +150,7 @@ main { /* Benutzerliste Styling */ .user-list { + margin-top: 6rem; padding: 20px; background-color: #f8f9fa; border-radius: 8px; @@ -169,10 +171,9 @@ main { color: red; } -/* Chat Interface Styles */ +/* Chat Interface Styles .chat-container { width: 100%; - max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; @@ -181,7 +182,7 @@ main { border: 1px solid #ccc; border-radius: 8px; overflow: hidden; -} +}*/ .chat-box { flex: 1; @@ -250,8 +251,11 @@ main { /* Haupt-Container für Layout mit Seitenleiste */ .main-container { + padding-top: 13rem; + width: 100%; display: flex; - height: 100vh; + position: absolute; + left: 0px; } /* Linke Seitenleiste */ @@ -288,6 +292,7 @@ main { /* Chatbereich Styles (wie oben beschrieben) */ .chat-container { + width: 100%; flex: 1; display: flex; flex-direction: column; @@ -366,3 +371,4 @@ main { background-color: #27ae60; } + diff --git a/client/welcome.html b/client/welcome.html index bb2efab..85946c6 100644 --- a/client/welcome.html +++ b/client/welcome.html @@ -24,8 +24,28 @@ -
+
+ + + + +
+
+ +
+
+ + +
+
+
+ +