mirror of
https://github.com/soconnor0919/hristudio.git
synced 2026-03-24 03:37:51 -04:00
feat: Implement digital signatures for participant consent and introduce study forms management.
This commit is contained in:
@@ -46,7 +46,6 @@ interface EntityViewSidebarProps {
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
|
||||
interface EntityViewProps {
|
||||
children: ReactNode;
|
||||
layout?: "default" | "full-width";
|
||||
@@ -54,7 +53,6 @@ interface EntityViewProps {
|
||||
|
||||
// ... existing code ...
|
||||
|
||||
|
||||
export function EntityViewHeader({
|
||||
title,
|
||||
subtitle,
|
||||
@@ -125,11 +123,7 @@ export function EntityView({ children, layout = "default" }: EntityViewProps) {
|
||||
// Simplification: Always take full width of the parent container provided by DashboardLayout
|
||||
// The DashboardLayout already provides padding (p-4).
|
||||
// We remove 'container mx-auto max-w-5xl' to stop it from shrinking.
|
||||
return (
|
||||
<div className="flex flex-col gap-6 w-full h-full">
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
return <div className="flex h-full w-full flex-col gap-6">{children}</div>;
|
||||
}
|
||||
|
||||
// Utility component for empty states
|
||||
@@ -171,12 +165,13 @@ interface InfoGridProps {
|
||||
export function InfoGrid({ items, columns = 2 }: InfoGridProps) {
|
||||
return (
|
||||
<div
|
||||
className={`grid gap-4 ${columns === 1
|
||||
? "grid-cols-1"
|
||||
: columns === 2
|
||||
? "md:grid-cols-2"
|
||||
: "md:grid-cols-2 lg:grid-cols-3"
|
||||
}`}
|
||||
className={`grid gap-4 ${
|
||||
columns === 1
|
||||
? "grid-cols-1"
|
||||
: columns === 2
|
||||
? "md:grid-cols-2"
|
||||
: "md:grid-cols-2 lg:grid-cols-3"
|
||||
}`}
|
||||
>
|
||||
{items.map((item, index) => (
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user