(feat): improve chat ui
This commit is contained in:
parent
30783f8ded
commit
b4662bc1a4
2 changed files with 3 additions and 3 deletions
|
|
@ -91,8 +91,8 @@ export default function InputComponent({
|
||||||
<Card
|
<Card
|
||||||
ref={inputBoxRef}
|
ref={inputBoxRef}
|
||||||
className={cn(
|
className={cn(
|
||||||
"rounded-none border-b-0 pt-0 pb-[env(safe-area-inset-bottom)] mx-2",
|
"ring-0! rounded-none border-b-0 border-t border-x border-input/70 pt-0 pb-[env(safe-area-inset-bottom)] mx-2",
|
||||||
isMobile ? "border-0 border-t w-full mx-0 px-2" : "rounded-t-xl",
|
isMobile ? "border-0 border-x-0! w-full mx-0 px-2" : "rounded-t-xl",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<CardHeader className="relative p-0 flex flex-col">
|
<CardHeader className="relative p-0 flex flex-col">
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ export default function Media({ link }: { link: string }) {
|
||||||
src={link}
|
src={link}
|
||||||
hidden={hidden}
|
hidden={hidden}
|
||||||
onLoad={() => setHidden(false)}
|
onLoad={() => setHidden(false)}
|
||||||
className="max-h-70 max-w-70"
|
className="max-h-70 max-w-70 py-1 rounded-lg"
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue