Improve reservations style

This commit is contained in:
Arnaud 2024-09-27 19:06:24 +02:00
parent fa3e04c650
commit 3dc22ff2c5
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
2 changed files with 5 additions and 1 deletions

View File

@ -3,6 +3,7 @@
margin-right: auto;
margin-bottom: 1rem;
font-size: 1.25rem;
text-align: center;
}
@media (min-width: 801px) {

View File

@ -100,10 +100,13 @@ export function AvailabilityReservations({
size: totalSize - totalUsed,
},
];
const isEmpty = !!data.length;
const isEmpty = !data.length;
return (
<Modal open={open} onClose={onClose}>
<p className="reservations-title">
<b>Slots</b>
</p>
{isEmpty ? (
<EmptyPlaceholder
title="No reservation"