better grid
This commit is contained in:
@@ -14,15 +14,17 @@
|
||||
}
|
||||
</div>
|
||||
<div class="h-1/3 min-h-20 bg-primary-300 relative">
|
||||
@if (shownMenu == EInteractionMenuState.Pantry) {
|
||||
<ff-food-pantry
|
||||
(onClose)="closeMenu()"
|
||||
(onFoodChosen)="interact(EChibiInteraction.Feed, $event)"
|
||||
></ff-food-pantry>
|
||||
}
|
||||
@if (shownMenu == EInteractionMenuState.Inventory) {
|
||||
<ff-inventory (onClose)="closeMenu()"></ff-inventory>
|
||||
}
|
||||
<ff-food-pantry
|
||||
[isVisible]="shownMenu == EInteractionMenuState.Pantry"
|
||||
(onClose)="closeMenu()"
|
||||
(onFoodChosen)="interact(EChibiInteraction.Feed, $event)"
|
||||
></ff-food-pantry>
|
||||
|
||||
<ff-inventory
|
||||
[isVisible]="shownMenu == EInteractionMenuState.Inventory"
|
||||
(onClose)="closeMenu()"
|
||||
></ff-inventory>
|
||||
|
||||
<div class="flex flex-row gap-5 py-4 container mx-auto">
|
||||
<ff-button (click)="openInventory()">{{
|
||||
lang.game.actions.giveItem
|
||||
|
||||
Reference in New Issue
Block a user