mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
changing the layout of the select box
This commit is contained in:
parent
24c76d78b6
commit
097d80c69e
1 changed files with 2 additions and 5 deletions
|
|
@ -100,15 +100,12 @@ function SummaryBox({ scenarios, numProperties }: SummaryBoxProps) {
|
|||
<h2 className="text-2xl font-bold mb-4 text-brandblue text-center">
|
||||
Portfolio Summary
|
||||
</h2>
|
||||
<div className="mb-4 text-center">
|
||||
<label htmlFor="scenario-select" className="mr-2">
|
||||
Select Scenario:
|
||||
</label>
|
||||
<div className="mb-4 flex items-center justify-center">
|
||||
<select
|
||||
id="scenario-select"
|
||||
value={selectedScenarioId}
|
||||
onChange={(e) => handleScenarioChange(e.target.value)}
|
||||
className="p-2 border rounded"
|
||||
className="p-2 border rounded w-full"
|
||||
>
|
||||
{scenarios.map((scenario) => (
|
||||
<option key={String(scenario.id)} value={String(scenario.id)}>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue