Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix iPad View UI responsiveness issue on the overview page #10378

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/pages/Facility/overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ export function FacilityOverview({ facilityId }: FacilityOverviewProps) {
<h2 className="text-xl font-semibold mb-6 text-gray-900">
{t("quick_actions")}
</h2>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
<div className="grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-4">
{shortcuts.map((shortcut) => (
<Link
key={shortcut.href}
href={shortcut.href}
className="block transition-all duration-200 hover:scale-102 hover:shadow-md"
className="block h-full transition-all duration-200 hover:scale-102 hover:shadow-md"
>
<Card className="border-0 shadow-sm hover:bg-gray-50">
<CardHeader className="flex flex-row items-center gap-4">
<Card className="border-0 shadow-sm hover:bg-gray-50 h-full">
<CardHeader className="h-full flex flex-row items-center gap-4">
<div className="p-2 bg-primary/10 rounded-lg">
<shortcut.icon className="h-6 w-6 text-primary" />
</div>
Expand Down