Skip to content

Commit 5d8df83

Browse files
committed
Update base image and stylesheets
Signed-off-by: Roman Schwarz <rs@cloudeteer.de>
1 parent 5978ccf commit 5d8df83

File tree

2 files changed

+28
-7
lines changed

2 files changed

+28
-7
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Enables --exclude in COPY for better caching of layers
33

44
# Use the official LibreChat base image
5-
FROM ghcr.io/danny-avila/librechat:v0.7.9
5+
FROM ghcr.io/danny-avila/librechat:v0.8.1
66
WORKDIR /app
77

88
# Project currently does not define its own package.json

client/src/style.css

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,8 +1228,12 @@ code,
12281228
pre {
12291229
font-family: Consolas, Söhne Mono, Monaco, Andale Mono, Ubuntu Mono, monospace !important;
12301230
}
1231-
code[class='language-plaintext'] {
1232-
white-space: pre-line;
1231+
code.language-text,
1232+
code.language-txt,
1233+
code.language-plaintext,
1234+
code.language-markdown,
1235+
code.language-md {
1236+
white-space: pre-wrap !important;
12331237
}
12341238
code.hljs,
12351239
code[class*='language-'],
@@ -1464,6 +1468,26 @@ button {
14641468
background-color: transparent;
14651469
}
14661470

1471+
/* Show scrollbar only on hover */
1472+
.scrollbar-hover {
1473+
scrollbar-width: thin;
1474+
scrollbar-color: transparent transparent;
1475+
}
1476+
1477+
.scrollbar-hover:hover {
1478+
scrollbar-color: var(--border-medium) transparent;
1479+
}
1480+
1481+
.scrollbar-hover::-webkit-scrollbar-thumb {
1482+
background-color: transparent;
1483+
transition: background-color 0.3s ease 0.5s;
1484+
}
1485+
1486+
.scrollbar-hover:hover::-webkit-scrollbar-thumb {
1487+
background-color: var(--border-medium);
1488+
transition-delay: 0s;
1489+
}
1490+
14671491
body,
14681492
html {
14691493
height: 100%;
@@ -2648,6 +2672,7 @@ html {
26482672
.animate-pulse-slow {
26492673
animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
26502674
}
2675+
26512676
@keyframes fadeIn {
26522677
from {
26532678
opacity: 0;
@@ -2663,10 +2688,6 @@ html {
26632688
animation: fadeIn 0.5s ease-out forwards;
26642689
}
26652690

2666-
.scale-98 {
2667-
transform: scale(0.98);
2668-
}
2669-
26702691
/* Chat Badges Animation */
26712692

26722693
@keyframes ios-wiggle {

0 commit comments

Comments
 (0)