fix: optimize mobile layout (#606)

- conserve space in new convo view
- fix overlapping edit and delete chat message icons
- fix overlapping copy icon
This commit is contained in:
Shemar Lindie
2023-04-19 10:34:27 -04:00
committed by GitHub
parent 2208e4dfc7
commit dcb2810d46
2 changed files with 28 additions and 44 deletions
+1 -1
View File
@@ -398,7 +398,7 @@ export const Chat = memo(({ stopConversationRef }: Props) => {
>
{selectedConversation?.messages.length === 0 ? (
<>
<div className="mx-auto flex w-[350px] flex-col space-y-10 pt-12 sm:w-[600px]">
<div className="mx-auto flex flex-col space-y-5 md:space-y-10 px-3 pt-5 md:pt-12 sm:max-w-[600px]">
<div className="text-center text-3xl font-semibold text-gray-800 dark:text-gray-100">
{models.length === 0 ? (
<div>