Skip to content

Commit

Permalink
update : front
Browse files Browse the repository at this point in the history
  • Loading branch information
annadiplacido committed Nov 2, 2024
1 parent f5e4cfd commit c29982d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions libs/ui/common/src/lib/commandsR/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ export function Item(props: Readonly<ItemProps>) {
props.handleSelectItem(props.item._id, props.item.shortName)
}
/>
<CardContent>
<CardContent sx={{ textAlign: 'center' }}>
<Typography gutterBottom variant="h5" component="div">
{props.item.shortName}
</Typography>
<Typography variant="body2" color="text.secondary">
<Typography variant="body2" color="text.secondary" sx={{ fontSize: '1.4rem' }}>
{props.remaining ? `Remaining: ${props.remaining}` : ''}
</Typography>
</CardContent>
Expand Down
8 changes: 5 additions & 3 deletions libs/ui/common/src/lib/commandsR/mealSelectionForPayment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function MealSelectionForPayment() {
groupId: string;
tableNumber: string;
}>();

function handleClose() {
console.log('Close button clicked');
}
Expand Down Expand Up @@ -103,8 +103,10 @@ function MealSelectionContent({
return (
<Box sx={{ pb: 10 }}>
<BackButton onClick={onBackButtonClick} />
<Box sx={{ mt: 15, px: 3 }}>
<Typography variant="h5" color="primary" sx={{ mb: 2 }}>
<Box sx={{ mt: 15, px: 3,
maxHeight: '600px',
overflowY: 'auto', }}>
<Typography variant="h3" color="primary" sx={{ mb: 2, textAlign: 'center' }}>
My table (Nb {currentTable.number})
</Typography>
<Divider sx={{ mb: 2 }} />
Expand Down

0 comments on commit c29982d

Please sign in to comment.