115 add load more button to logbook mobile view (#118)

* fixing logbook page responsiveness

* fixing logbook page responsiveness

* fixing logbook page responsiveness

* fixing logbook page responsiveness
This commit was merged in pull request #118.
This commit is contained in:
2026-03-21 20:57:22 -05:00
committed by GitHub
parent b7b6bdcf4a
commit 8652544471

View File

@@ -530,10 +530,10 @@ const Logbook: React.FC<unknown> = () => {
return ( return (
<> <>
<div className={`${screenSize === ScreenSize.SM ? 'mr-4 ml-4' : 'mr-10 ml-10'} grid grid-cols-12`}> <div className={`${screenSize === ScreenSize.SM ? 'mr-4 ml-4' : 'mr-10 ml-10'} grid grid-cols-12`}>
<div className='prose max-w-none col-span-10 mt-5 mb-5'> <div className='prose max-w-none col-span-6 mt-5 mb-5'>
<h1>Logbook</h1> <h1>Logbook</h1>
</div> </div>
<div className='col-span-2 justify-self-end self-center'> <div className='col-span-6 justify-self-end self-center'>
{userRole === UserRole.WRITE && {userRole === UserRole.WRITE &&
<button className='btn btn-primary' <button className='btn btn-primary'
onClick={() => onOpenCloseDrawer(FormMode.ADD)} onClick={() => onOpenCloseDrawer(FormMode.ADD)}