Skip to content

Commit

Permalink
chore: Minor style cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed Feb 12, 2025
1 parent 992bc21 commit 76f72e7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 0 additions & 2 deletions src/components/ChatBotBody/ChatBotBody.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
border-radius: 22px;
min-height: 20px;
height: fit-content;
display: flex;
flex-direction: row;
width: fit-content;
font-size: 15px;
overflow-wrap: anywhere;
Expand Down
5 changes: 0 additions & 5 deletions src/components/ChatBotInput/ChatBotInput.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@

/* ChatBot Input Button Area */

.rcb-chat-input-button-container {
display: "flex";
flex-direction: "column";
}

.rcb-chat-input-char-counter {
font-size: 14px;
margin-left: 8px;
Expand Down
4 changes: 2 additions & 2 deletions src/components/ChatBotInput/ChatBotInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const ChatBotInput = ({ buttons }: { buttons: JSX.Element[] }) => {
onCompositionEnd={handleCompositionEnd}
/>
}
<div className="rcb-chat-input-button-container">
<>
{buttons?.map((button: JSX.Element, index: number) =>
<Fragment key={index}>{button}</Fragment>
)}
Expand All @@ -230,7 +230,7 @@ const ChatBotInput = ({ buttons }: { buttons: JSX.Element[] }) => {
{inputLength}/{settings.chatInput?.characterLimit}
</div>
}
</div>
</>
</div>
);
};
Expand Down

0 comments on commit 76f72e7

Please sign in to comment.