Skip to content

Commit

Permalink
Fix layout issue in DailyRoundsList component (#6709)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 authored Nov 24, 2023
1 parent 3fe417f commit 392fbd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/Facility/Consultations/DailyRoundsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const DailyRoundsList = (props: any) => {
}}
>
{(_) => (
<div className="flex w-full flex-col gap-4">
<div className="-mt-2 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">
<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 shadow">
Expand All @@ -42,7 +42,7 @@ export const DailyRoundsList = (props: any) => {
))}
</>
</PaginatedList.WhenLoading>
<PaginatedList.Items<DailyRoundsModel> className="my-8 flex grow flex-col gap-3 lg:mx-8">
<PaginatedList.Items<DailyRoundsModel> className="flex grow flex-col gap-3">
{(item, items) => {
if (item.rounds_type === "AUTOMATED") {
return (
Expand Down

0 comments on commit 392fbd5

Please sign in to comment.