Skip to content

Commit

Permalink
minor layout fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacobjeevan committed Mar 6, 2025
1 parent 2e7a84d commit 75e265b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Routers/AppRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default function AppRouter() {
)}
<main
id="pages"
className="flex flex-col flex-1 min-h-[calc(100svh-theme(spacing.4))] md:m-2 md:peer-data-[state=collapsed]:ml-0 border rounded-lg shadow bg-gray-50 focus:outline-none"
className="overflow-y-auto flex flex-col flex-1 min-h-[calc(100svh-theme(spacing.4))] md:m-2 md:peer-data-[state=collapsed]:ml-0 border rounded-lg shadow bg-gray-50 focus:outline-none"
>
<div className="relative z-10 flex h-16 bg-white shadow shrink-0 md:hidden">
<div className="flex items-center">
Expand Down
2 changes: 1 addition & 1 deletion src/components/Patient/EncounterQuestionnaire.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function EncounterQuestionnaire({
});
return (
<Page title={t("questionnaire_one")}>
<div className="flex flex-col space-y-4 mt-4">
<div className="flex flex-col space-y-4 mt-4 overflow-y-auto">
{encounter && (
<div className="size-full rounded-lg border bg-white text-black shadow">
<PatientInfoCard
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function DateTimeQuestion({
};

return (
<div className="flex gap-2">
<div className="flex sm:gap-2 flex-wrap">
<Popover>
<PopoverTrigger asChild>
<Button
Expand All @@ -119,7 +119,7 @@ export function DateTimeQuestion({
</Popover>
<Input
type="time"
className="w-[150px]"
className="sm:w-[150px] border-t-0 sm:border-t"
value={formatTime(currentValue)}
onChange={handleTimeChange}
disabled={disabled || !currentValue}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Questionnaire/QuestionnaireForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ export function QuestionnaireForm({
<DebugPreview
data={questionnaireForms}
title="QuestionnaireForm"
className="p-4 space-y-6 max-w-4xl"
className="p-4 space-y-6 max-w-4xl m-2"
/>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Resource/ResourceDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default function ResourceDetails({

return (
<Page title={t("request_details")}>
<div className="mx-auto max-w-7xl space-y-6 p-4 md:p-6">
<div className="max-w-7xl space-y-6 p-4 md:p-6">
{/* Action Buttons */}
<div className="flex items-center justify-between">
<div className="flex flex-wrap gap-2 w-full">
Expand Down

0 comments on commit 75e265b

Please sign in to comment.