Improve responsive spacing of chat page footer buttons

- Remove x axis footer padding on small screens to preserve space,
  keep equal spacing between footer items
- Add 1rem margin to buttons to not have overlap in boundary
- Add 1rem y-axis padding to chat footer to not have focus boundary
  leave the footer boundary on smaller screens
This commit is contained in:
Debanjum Singh Solanky
2024-08-04 14:48:44 +05:30
parent 4f2fcc82f0
commit 60af173c4a
4 changed files with 10 additions and 13 deletions

View File

@@ -184,7 +184,7 @@ function ChatBodyData(props: ChatBodyDataProps) {
</div>
}
</div>
<div className={`ml-auto mr-auto ${props.isMobileWidth ? 'w-full' : 'w-fit'}`}>
<div className={`mx-auto ${props.isMobileWidth ? 'w-full' : 'w-fit'}`}>
{
!props.isMobileWidth &&
<div className={`w-full ${styles.inputBox} shadow-lg bg-background align-middle items-center justify-center px-3 py-1 dark:bg-neutral-700 border-stone-100 dark:border-none dark:shadow-none rounded-2xl`}>