style: limit chat title height on mobile

This commit is contained in:
Jing Hua 2023-04-01 12:08:05 +08:00
parent d2da2a3b7c
commit 13fc68907c

View file

@ -31,7 +31,9 @@ const MobileBar = () => {
<span className='sr-only'>Open sidebar</span> <span className='sr-only'>Open sidebar</span>
<MenuIcon /> <MenuIcon />
</button> </button>
<h1 className='flex-1 text-center text-base font-normal'>{chatTitle}</h1> <h1 className='flex-1 text-center text-base font-normal px-2 max-h-20 overflow-y-auto'>
{chatTitle}
</h1>
<button <button
type='button' type='button'
className={`px-3 text-gray-400 transition-opacity ${ className={`px-3 text-gray-400 transition-opacity ${