Skip to content

Commit

Permalink
styling: mobile chat modal spacing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
skeptrunedev authored and fedhacks committed Dec 17, 2024
1 parent 952dc2f commit 708141a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion clients/search-component/src/TrieveModal/Chat/ChatMode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ export const ChatMode = () => {
</svg>
<span>Close</span>
</div>
<div className="system-information-wrapper">
<div
className={`system-information-wrapper${
currentGroup ? " with-group" : ""
}`}
>
<div className="ai-message">
<div className="chat-modal-wrapper">
<div className="ai-message initial-message">
Expand Down
8 changes: 6 additions & 2 deletions clients/search-component/src/TrieveModal/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ body {
}

.brand-name {
@apply text-white px-1.5 py-1 rounded-md font-[500] whitespace-nowrap;
@apply text-white px-1.5 py-1 rounded-md font-[500] whitespace-nowrap leading-8;
}
}
}
Expand Down Expand Up @@ -529,7 +529,11 @@ body {
/* SUGGESTED QUESTIONS */

.system-information-wrapper {
@apply mb-8;
@apply mb-10;

&.with-group {
@apply mb-24;
}

p {
@apply mb-6 sm:mb-4;
Expand Down

0 comments on commit 708141a

Please sign in to comment.