Chat Client changes:
- maximum width for input and message history - ensure good display for sidebar explanation
This commit is contained in:
@@ -10,6 +10,17 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Gemeenschappelijke container voor consistente breedte */
|
||||||
|
.chat-component-container {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 1000px; /* Optimale breedte */
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex: 1; /* Neemt beschikbare verticale ruimte in */
|
||||||
|
}
|
||||||
|
|
||||||
/* Message Area - neemt alle beschikbare ruimte */
|
/* Message Area - neemt alle beschikbare ruimte */
|
||||||
.chat-messages-area {
|
.chat-messages-area {
|
||||||
flex: 1; /* Neemt alle beschikbare ruimte */
|
flex: 1; /* Neemt alle beschikbare ruimte */
|
||||||
@@ -23,6 +34,11 @@
|
|||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
border: 1px solid rgba(255,255,255,0.2);
|
border: 1px solid rgba(255,255,255,0.2);
|
||||||
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
|
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
|
||||||
|
width: 100%;
|
||||||
|
max-width: 1000px; /* Optimale breedte */
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto; /* Horizontaal centreren */
|
||||||
|
align-self: center; /* Extra centrering in flexbox context */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Chat Input - altijd onderaan */
|
/* Chat Input - altijd onderaan */
|
||||||
@@ -34,6 +50,11 @@
|
|||||||
border: 1px solid rgba(255,255,255,0.2);
|
border: 1px solid rgba(255,255,255,0.2);
|
||||||
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
|
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 1000px; /* Optimale breedte */
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto; /* Horizontaal centreren */
|
||||||
|
align-self: center; /* Extra centrering in flexbox context */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Zorg dat de MessageHistory container ook flexbox gebruikt */
|
/* Zorg dat de MessageHistory container ook flexbox gebruikt */
|
||||||
@@ -44,6 +65,10 @@
|
|||||||
min-height: 0;
|
min-height: 0;
|
||||||
padding: 20px; /* Interne padding voor MessageHistory */
|
padding: 20px; /* Interne padding voor MessageHistory */
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 1000px; /* Optimale breedte */
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto; /* Horizontaal centreren */
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-messages {
|
.chat-messages {
|
||||||
@@ -60,6 +85,9 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
padding: 20px; /* Interne padding voor ChatInput */
|
padding: 20px; /* Interne padding voor ChatInput */
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
max-width: 1000px; /* Optimale breedte */
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto; /* Horizontaal centreren */
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-input {
|
.chat-input {
|
||||||
@@ -175,14 +203,21 @@
|
|||||||
|
|
||||||
.chat-messages-area {
|
.chat-messages-area {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
|
max-width: 100%; /* Op mobiel volledige breedte gebruiken */
|
||||||
|
}
|
||||||
|
|
||||||
|
.chat-input-area {
|
||||||
|
max-width: 100%; /* Op mobiel volledige breedte gebruiken */
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-history-container {
|
.message-history-container {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
max-width: 100%; /* Op mobiel volledige breedte gebruiken */
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-input-container {
|
.chat-input-container {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
max-width: 100%; /* Op mobiel volledige breedte gebruiken */
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-input {
|
.chat-input {
|
||||||
@@ -201,6 +236,10 @@
|
|||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
min-height: 40px;
|
min-height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.chat-component-container {
|
||||||
|
max-width: 100%; /* Op mobiel volledige breedte gebruiken */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Extra small screens */
|
/* Extra small screens */
|
||||||
|
|||||||
@@ -89,6 +89,25 @@
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Style lists in markdown content */
|
||||||
|
.sidebar-explanation ul,
|
||||||
|
.sidebar-explanation ol {
|
||||||
|
padding-left: 20px;
|
||||||
|
margin: 10px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-explanation li {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-explanation ul li {
|
||||||
|
list-style-type: disc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-explanation ol li {
|
||||||
|
list-style-type: decimal;
|
||||||
|
}
|
||||||
|
|
||||||
.content-area {
|
.content-area {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
background: linear-gradient(135deg, var(--gradient-start-color), var(--gradient-end-color));
|
background: linear-gradient(135deg, var(--gradient-start-color), var(--gradient-end-color));
|
||||||
|
|||||||
Reference in New Issue
Block a user