Skip to content

Commit

Permalink
Refactor: maxwidth css fix
Browse files Browse the repository at this point in the history
  • Loading branch information
swgvenghy committed Aug 2, 2024
1 parent 2749286 commit 7e13444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/components/atom/chat-card/chat-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const ChatCard = ({ content, role }: ChatCardProps) => {
<div>
{role === 'user' ? null : <img src={maru} className="mb-2 h-8 w-8" />}
<div
className={cn('flex h-auto max-w-72 flex-col-reverse', {
className={cn('flex h-auto flex-col-reverse', {
'items-end justify-end': role === 'user',
'items-start justify-start': role !== 'user',
})}
Expand Down

0 comments on commit 7e13444

Please sign in to comment.