-
-
Notifications
You must be signed in to change notification settings - Fork 6
Fix UI overflow in Copilot and EmptyScreen components #511
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
base: main
Are you sure you want to change the base?
Changes from all commits
54aefe5
2913b72
f71f4c5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -98,7 +98,7 @@ export const Copilot: React.FC<CopilotProps> = ({ inquiry }: CopilotProps) => { | |||||
| <Card className="p-4 w-full flex justify-between items-center"> | ||||||
| <div className="flex items-center space-x-2"> | ||||||
| <Sparkles className="w-4 h-4" /> | ||||||
| <h5 className="text-muted-foreground text-xs truncate"> | ||||||
| <h5 className="text-muted-foreground text-xs whitespace-normal break-words"> | ||||||
| {`error: ${error}`} | ||||||
| </h5> | ||||||
| </div> | ||||||
|
|
@@ -114,7 +114,7 @@ export const Copilot: React.FC<CopilotProps> = ({ inquiry }: CopilotProps) => { | |||||
| return ( | ||||||
| <Card className="p-3 md:p-4 w-full flex justify-between items-center"> | ||||||
| <div className="flex items-center space-x-2 flex-1 min-w-0"> | ||||||
| <h5 className="text-muted-foreground text-xs truncate"> | ||||||
| <h5 className="text-muted-foreground text-xs whitespace-normal break-words"> | ||||||
| {updatedQuery()} | ||||||
| </h5> | ||||||
| </div> | ||||||
|
|
@@ -125,7 +125,7 @@ export const Copilot: React.FC<CopilotProps> = ({ inquiry }: CopilotProps) => { | |||||
| return ( | ||||||
| <Card className="p-4 rounded-lg w-full mx-auto"> | ||||||
| <div className="mb-4"> | ||||||
| <p className="text-lg text-foreground text-semibold ml-2"> | ||||||
| <p className="text-lg text-foreground text-semibold ml-2 break-words"> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Proposed fix- <p className="text-lg text-foreground text-semibold ml-2 break-words">
+ <p className="text-lg text-foreground font-semibold ml-2 break-words">📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| {data?.question || value.question} | ||||||
|
|
||||||
|
|
||||||
|
|
@@ -146,7 +146,7 @@ export const Copilot: React.FC<CopilotProps> = ({ inquiry }: CopilotProps) => { | |||||
| } | ||||||
| /> | ||||||
| <label | ||||||
| className="text-sm whitespace-nowrap pr-4" | ||||||
| className="text-sm whitespace-normal break-words pr-4" | ||||||
| htmlFor={option?.value} | ||||||
| > | ||||||
| {option?.label} | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: QueueLab/QCX
Length of output: 83
🏁 Script executed:
Repository: QueueLab/QCX
Length of output: 38
🏁 Script executed:
Repository: QueueLab/QCX
Length of output: 38
🏁 Script executed:
Repository: QueueLab/QCX
Length of output: 857
🏁 Script executed:
Repository: QueueLab/QCX
Length of output: 76
🏁 Script executed:
Repository: QueueLab/QCX
Length of output: 3666
🏁 Script executed:
# Read the tailwind.config.ts file cat ./tailwind.config.tsRepository: QueueLab/QCX
Length of output: 2482
🏁 Script executed:
Repository: QueueLab/QCX
Length of output: 38
rounded-fillis not a standard Tailwind class and is not defined as a custom utility — this is a typo forrounded-full.The Tailwind configuration does not define any custom
rounded-fillutility, and no CSS files contain this definition. This will silently produce no border-radius. Change torounded-full.🐛 Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents