Skip to content

Commit

Permalink
Extend Update Log to bottom of the screen (#7136)
Browse files Browse the repository at this point in the history
* removed fixed height

* moved Paginator container one level up and minor CSS fix

* removed filter overlapping with card

* Update src/Components/Facility/Consultations/DailyRoundsList.tsx

Co-authored-by: Ashesh <[email protected]>

---------

Co-authored-by: Khavin Shankar <[email protected]>
Co-authored-by: Ashesh <[email protected]>
  • Loading branch information
3 people authored Mar 27, 2024
1 parent ee803ce commit b3263bd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Components/Facility/Consultations/DailyRoundsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export default function DailyRoundsList({ consultation }: Props) {
/>
</div>

<div className="flex w-full flex-col gap-4">
<div className="flex max-h-[85vh] flex-col gap-4 overflow-y-auto overflow-x-hidden px-3">
<div className="flex max-h-screen min-h-full w-full flex-col gap-4">
<div className="flex flex-col gap-4 overflow-y-auto overflow-x-hidden px-3">
<PaginatedList.WhenEmpty className="flex w-full justify-center border-b border-gray-200 bg-white p-5 text-center text-2xl font-bold text-gray-500">
<span className="flex justify-center rounded-lg bg-white p-3 text-gray-700 ">
{t("no_consultation_updates")}
Expand Down Expand Up @@ -116,9 +116,9 @@ export default function DailyRoundsList({ consultation }: Props) {
}}
</PaginatedList.Items>
</Timeline>
<div className="flex w-full items-center justify-center">
<PaginatedList.Paginator hideIfSinglePage />
</div>
</div>
<div className="flex w-full items-center justify-center">
<PaginatedList.Paginator hideIfSinglePage />
</div>
</div>
</>
Expand Down

0 comments on commit b3263bd

Please sign in to comment.