mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-25 22:23:59 +01:00
style: limit chat title height on mobile
This commit is contained in:
parent
d2da2a3b7c
commit
13fc68907c
|
@ -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 ${
|
||||||
|
|
Loading…
Reference in a new issue