diff --git a/app/components/History.tsx b/app/components/History.tsx index d109f24..e4d593a 100644 --- a/app/components/History.tsx +++ b/app/components/History.tsx @@ -34,35 +34,28 @@ const History: React.FC = () => { {/* Populate with history items */} {chatHistory.chats.map((chats, index) => (
  • - handleHistoryClick(index)}> - {chatHistory.chats[index].name} - + handleHistoryClick(index)}>{chatHistory.chats[index].name}
  • ))}
  • {isEditing ? ( -
    - - -
    - ) : ( - - )} +
    + + +
    + ) : ( + + )}
  • - ); + ); }; export default History; diff --git a/app/styles/history.css b/app/styles/history.css index 3580acf..bf92b8e 100644 --- a/app/styles/history.css +++ b/app/styles/history.css @@ -37,39 +37,3 @@ height: 86dvh; /* padding-bottom: 3dvh; */ } -.input-container { - display: flex; - justify-content: space-between; - align-items: center; - width: 100%; -} -.chat-input { - border-color: var(--input-border-color); - color: var(--text-color); - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); - padding: 10px; - border-radius: 5px; - width: 80%; - height: 50px; - box-sizing: border-box; - line-height: 30px; -} -.save-btn, .newChat-btn { - display: flex; - justify-content: center; - align-items: center; - text-align: center; - width: 20%; - height: 50px; - background-color: var(--input-button-color); - color: var(--text-color); - border: none; - font-size: 0.9em; - border-radius: 5px; - margin-left: 10px; -} - -.newChat-btn{ - margin-left: 0px; -} -