ui: spacings for chats modal
This commit is contained in:
parent
3460a65b79
commit
82599f4afd
1 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ function ChatsModal({
|
||||||
{t('Loading chats')}...
|
{t('Loading chats')}...
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div className="overflow-y-auto flex flex-col gap-4">
|
<div className="overflow-y-auto flex flex-col gap-2">
|
||||||
{datedCollections.map((col, i) => (
|
{datedCollections.map((col, i) => (
|
||||||
<React.Fragment key={`${i}_${col.date}`}>
|
<React.Fragment key={`${i}_${col.date}`}>
|
||||||
<ChatCollection
|
<ChatCollection
|
||||||
|
|
@ -105,7 +105,7 @@ function ChatCollection({
|
||||||
date: string;
|
date: string;
|
||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<div className="border-b border-b-gray-lighter">
|
<div className="border-b border-b-gray-lighter py-2">
|
||||||
<div className="font-semibold">{date}</div>
|
<div className="font-semibold">{date}</div>
|
||||||
<ChatsList data={data} onSelect={onSelect} onDelete={onDelete} />
|
<ChatsList data={data} onSelect={onSelect} onDelete={onDelete} />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue