Skip to content

Commit

Permalink
Refactor DailyRoundsList component and DefaultLogUpdateCard component
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 committed Jan 4, 2024
1 parent ff271f8 commit cd5137f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ export const ConsultationUpdatesTab = (props: ConsultationTabProps) => {
</div>
</div>
</div>
<div className="w-full pl-4 xl:w-1/3">
<div className="w-full pl-0 md:pl-4 xl:w-1/3">
<DailyRoundsList consultation={props.consultationData} />
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ const DefaultLogUpdateCard = ({ round, ...props }: Props) => {
attributeKey="other_details"
attributeValue={round.other_details}
/>
<div className="mt-2 flex items-center gap-2">
<div className="mt-2 flex w-full flex-col items-center gap-2 md:w-auto md:flex-row">
<ButtonV2
variant="secondary"
border
ghost
size="small"
className="w-full"
onClick={props.onViewDetails}
>
<CareIcon className="care-l-eye text-lg" />
Expand All @@ -48,6 +49,7 @@ const DefaultLogUpdateCard = ({ round, ...props }: Props) => {
border
ghost
size="small"
className="w-full"
onClick={props.onUpdateLog}
>
<CareIcon className="care-l-pen text-lg" />
Expand Down

0 comments on commit cd5137f

Please sign in to comment.