Past chat histories in a side bar on desktop (#5098)

Lots of room for improvement, but that's a start.
This commit is contained in:
oobabooga 2024-01-09 01:57:29 -03:00 committed by GitHub
parent 372ef5e2d8
commit 4f7e1eeafd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 10 deletions

View file

@ -660,6 +660,20 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
margin-top: var(--layout-gap);
}
/* ----------------------------------------------
Past chat histories in a side bar on desktop
---------------------------------------------- */
@media screen and (width >= 1327px) {
#past-chats-row {
position: absolute;
top: 16px;
left: 0;
width: calc(0.5*(var(--document-width) - 880px - 120px - 16px*2));
max-width: 300px;
margin-left: calc(-0.5*(var(--document-width) - 880px - 14px - 16px * 2));
}
}
/* ----------------------------------------------
Keep dropdown menus above errored components
---------------------------------------------- */