feat: enhance IncrociDialog layout and improve table header styling
This commit is contained in:
parent
eef0030676
commit
d7bd1656c2
1 changed files with 5 additions and 3 deletions
|
|
@ -41,14 +41,16 @@ export const IncrociDialog = ({
|
||||||
<Waypoints /> Incroci
|
<Waypoints /> Incroci
|
||||||
</Button>
|
</Button>
|
||||||
</DialogTrigger>
|
</DialogTrigger>
|
||||||
<DialogContent className="sm:max-w-2xl">
|
<DialogContent className="sm:max-w-4xl">
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>Lista Incroci</DialogTitle>
|
<DialogTitle>Lista Incroci</DialogTitle>
|
||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
Lista utenti che hanno ricevuto i contatti di questo annuncio
|
Lista utenti che hanno ricevuto i contatti di questo annuncio
|
||||||
</DialogDescription>
|
</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
<IncrociTable annuncioId={annuncioId} />
|
<div className="max-h-[50vh] w-full overflow-auto">
|
||||||
|
<IncrociTable annuncioId={annuncioId} />
|
||||||
|
</div>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
);
|
);
|
||||||
|
|
@ -63,7 +65,7 @@ const IncrociTable = ({ annuncioId }: { annuncioId: AnnunciId }) => {
|
||||||
<Table>
|
<Table>
|
||||||
<TableHeader>
|
<TableHeader>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
<TableHead className="">Utente</TableHead>
|
<TableHead>Utente</TableHead>
|
||||||
<TableHead>Data</TableHead>
|
<TableHead>Data</TableHead>
|
||||||
<TableHead>Note</TableHead>
|
<TableHead>Note</TableHead>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue