PolicyEngine / policyengine-app

PolicyEngine's free web app for computing the impact of public policy.
GNU Affero General Public License v3.0
35 stars 89 forks source link

Buttons in household calculator are sized improperly #1757

Closed anth-volk closed 1 week ago

anth-volk commented 3 weeks ago

The video below demonstrates how the calculator is currently functioning. Ideally, the first three buttons (which are almost certainly imported from /src/controls/Button.jsx) should have a set width that matches the one inside src/pages/household/input/VariableEditor.jsx. These buttons are made to by default sit at 100% width, and so it's likely as simple as copying and pasting the set width value from VariableEditor into the three relevant pages with the incorrectly sized button.

https://github.com/PolicyEngine/policyengine-app/assets/14987227/1c4bd9ca-c707-4b24-ac61-1eaf414bfc89

psankhe28 commented 3 weeks ago

Do we prefer 100% width button or the smaller ones?

anth-volk commented 3 weeks ago

The smaller ones