Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

styling: mobile chat modal spacing issues #2962

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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