diff --git a/README.rst b/README.rst index 5a51bcb..f5bdcbc 100644 --- a/README.rst +++ b/README.rst @@ -3,7 +3,7 @@ Open Completion * `opencompletion.com `_ -* `demo.opencompletion.com running vllm/hermes-llama-3 model `_ +* `demo.opencompletion.com running vllm/hermes-llama-3 model `_ originally named: flask-socketio-llm-completions diff --git a/templates/base.html b/templates/base.html index aff35d7..f557ebb 100644 --- a/templates/base.html +++ b/templates/base.html @@ -28,7 +28,6 @@ const socket = io.connect(window.location.protocol + "//" + document.domain + ":" + location.port); - @@ -83,20 +82,30 @@ /* Styling for individual message wrappers */ .message-wrapper { - display: flex; + display: grid; + grid-template-columns: auto 1fr; align-items: start; + gap: 4px; + margin-bottom: 32px; } /* Styling for the delete and edit buttons next to messages */ .message-wrapper button { - margin-top: 16px; - margin-right: 8px; + margin-right: 4px; + margin-bottom: 4px; + } + + /* Styling for the button container within each message */ + .button-container { + display: grid; + grid-auto-rows: min-content; /* Ensure each button takes up only as much space as it needs */ + gap: 4px; /* Vertical space between buttons */ } /* Styling for paragraphs, used for messages */ p { - margin-top: 8px; - margin-bottom: 8px; + margin: 0; + margin-bottom: 12px; } /* Styling for the main container that holds the rooms list and chat */ diff --git a/templates/chat.html b/templates/chat.html index 7054313..7f2dc8c 100644 --- a/templates/chat.html +++ b/templates/chat.html @@ -19,7 +19,9 @@