Skip to content

Distribute and run LLMs with a single file.

slight modifications for display

CJ Paise7e7e830d9f1
diff --git a/llamafile/server/www/chatbot.css b/llamafile/server/www/chatbot.css
index e0b5d49f..735b9801 100644
--- a/llamafile/server/www/chatbot.css
+++ b/llamafile/server/www/chatbot.css
@@ -187,9 +187,20 @@ ul li:first-child {
border-radius: 4px;
width: max-content;
max-width: 100%;
- display: inline-block;
+ margin-left: 0.5rem;
+ margin-right: 0.5rem;
+ display: flex;
+ flex-direction: column;
+ gap: 2px;
vertical-align: top;
}
+
+/* Add media query for small screens */
+@media screen and (max-width: 576px) {
+ .message-wrapper #info-container {
+ margin-top: .25rem;
+ }
+}
.message-wrapper:not(:last-child) #info-container {
margin-bottom: var(--large-spacing);
}