fix: message scroll in chat

This commit is contained in:
Boris Arzentar 2024-05-27 09:12:11 +02:00
parent ebabae0308
commit 2243b6fd2a
4 changed files with 7 additions and 28 deletions

View file

@ -10,7 +10,7 @@
"dependencies": {
"classnames": "^2.5.1",
"next": "14.2.3",
"ohmy-ui": "^0.0.4",
"ohmy-ui": "^0.0.5",
"react": "^18",
"react-dom": "^18",
"uuid": "^9.0.1"
@ -2892,9 +2892,9 @@
}
},
"node_modules/ohmy-ui": {
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/ohmy-ui/-/ohmy-ui-0.0.4.tgz",
"integrity": "sha512-E4xgoDutgXptXGmtSFnRwMcvpQ1/r6N5Vzua0a4sq8koFzt2FJuhuf/+o4WjABEi3UPvOpaLdy3/jKn9cFG9yg==",
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/ohmy-ui/-/ohmy-ui-0.0.5.tgz",
"integrity": "sha512-o5b3VZ1DbeKu+g0dsIgNskHHu/TbXvF8xLU1eEQVKab7duE+mOcCwhIjbhva4QRtR5gclbM1DKaRronwb26kuA==",
"dependencies": {
"classnames": "^2.3.2"
},

View file

@ -11,7 +11,7 @@
"dependencies": {
"classnames": "^2.5.1",
"next": "14.2.3",
"ohmy-ui": "^0.0.4",
"ohmy-ui": "^0.0.5",
"react": "^18",
"react-dom": "^18",
"uuid": "^9.0.1"

View file

@ -1,20 +0,0 @@
.explorer {
flex: 1;
min-height: 100%;
}
.explorerContent {
flex: 1;
}
.graphExplorer {
width: 65%;
overflow: hidden;
border-radius: var(--border-radius);
}
.chat {
width: 35%;
display: flex;
}

View file

@ -8,15 +8,14 @@
}
.messagesContainer {
flex: 1;
flex-basis: 400px;
flex-grow: 1;
overflow-y: auto;
}
.messages {
flex: 1;
padding-top: 24px;
padding-bottom: 24px;
overflow-y: auto;
}
.message {