diff --git a/src/App.tsx b/src/App.tsx index 11c9533..4ad94bd 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -94,8 +94,8 @@ function App() { cursor={hasStarted ? "pointer" : "default"} > - - + + {/* Game Title */} @@ -103,7 +103,7 @@ function App() { Clicker Clicker 2 {/* Buildings Grid */} - + {availableBuildings.map((building) => ( - {title} + {title} {/* Overlay for owned count */} @@ -198,6 +198,13 @@ export function BuildingButton({ color="text.dark" size="sm" flexGrow={1} + px={1} + height="auto" + minH="2rem" + whiteSpace="normal" + textAlign="center" + lineHeight="1.2" + fontSize="xs" > Buy ({formatNumber(cost)} points) @@ -211,6 +218,13 @@ export function BuildingButton({ size="sm" flexGrow={1} variant="outline" + px={1} + height="auto" + minH="2rem" + whiteSpace="normal" + textAlign="center" + lineHeight="1.2" + fontSize="xs" > Upgrade ({formatNumber(upgradeCost)} points)