diff --git a/app/backend/ChatHistory.ts b/app/backend/ChatHistory.ts index 8d768ed..62c9a50 100644 --- a/app/backend/ChatHistory.ts +++ b/app/backend/ChatHistory.ts @@ -6,7 +6,7 @@ type ChatMessage = { let chatHistory: ChatMessage[] = []; -function addMessageToHistory(name: string, message: any): void { +function addMessageHistory(name: string, message: any): void { const newMessage: ChatMessage = { name: name, messages: message, @@ -16,7 +16,7 @@ function addMessageToHistory(name: string, message: any): void { console.log(`Added message from ${name}: ${message}`); } -function removeMessageFromHistory(timestamp: number): void { +function removeMessageHistory(timestamp: number): void { const index = chatHistory.findIndex((msg) => msg.timestamp === timestamp); if (index > -1) { chatHistory.splice(index, 1); diff --git a/app/styles/header.css b/app/styles/header.css index 9f30d31..af4c1c0 100644 --- a/app/styles/header.css +++ b/app/styles/header.css @@ -84,9 +84,9 @@ header{ .header-login-button{ height: 100%; - width:max-content; + width:4vw; font-size: var(--font-size); - padding: 0.5vw 1vw; + padding: 3px; background-color: var(--input-button-color); color: var(--text-color); border: none;