mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-03 23:15:37 +00:00
Merge pull request #202 from yuchen9/feat/ui-enhancement
feat: ui enhancement
This commit is contained in:
commit
3a0163f0fb
@ -147,7 +147,7 @@ export default function Navigation({
|
|||||||
src={Arrow2}
|
src={Arrow2}
|
||||||
alt="arrow"
|
alt="arrow"
|
||||||
className={`${
|
className={`${
|
||||||
isDocsListOpen ? 'rotate-0' : '-rotate-90'
|
isDocsListOpen ? 'rotate-0' : 'rotate-180'
|
||||||
} mr-3 w-3 transition-all`}
|
} mr-3 w-3 transition-all`}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,7 +25,7 @@ const ConversationBubble = forwardRef<
|
|||||||
bubble = (
|
bubble = (
|
||||||
<div ref={ref} className={`flex flex-row-reverse self-end ${className}`}>
|
<div ref={ref} className={`flex flex-row-reverse self-end ${className}`}>
|
||||||
<Avatar className="mt-4 text-2xl" avatar="🧑💻"></Avatar>
|
<Avatar className="mt-4 text-2xl" avatar="🧑💻"></Avatar>
|
||||||
<div className="mr-2 ml-10 flex items-center rounded-3xl bg-blue-1000 py-5 px-5 text-white">
|
<div className="mr-2 ml-10 flex items-center rounded-3xl bg-blue-1000 p-3.5 text-white">
|
||||||
<p className="whitespace-pre-wrap break-words">{message}</p>
|
<p className="whitespace-pre-wrap break-words">{message}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -40,7 +40,7 @@ const ConversationBubble = forwardRef<
|
|||||||
>
|
>
|
||||||
<Avatar className="mt-4 text-2xl" avatar="🦖"></Avatar>
|
<Avatar className="mt-4 text-2xl" avatar="🦖"></Avatar>
|
||||||
<div
|
<div
|
||||||
className={`ml-2 mr-5 flex items-center rounded-3xl bg-gray-1000 py-5 px-5 ${
|
className={`ml-2 mr-5 flex items-center rounded-3xl bg-gray-1000 p-3.5 ${
|
||||||
type === 'ERROR'
|
type === 'ERROR'
|
||||||
? ' rounded-lg border border-red-2000 bg-red-1000 p-2 text-red-3000'
|
? ' rounded-lg border border-red-2000 bg-red-1000 p-2 text-red-3000'
|
||||||
: ''
|
: ''
|
||||||
|
Loading…
Reference in New Issue
Block a user