Skip to content

Commit

Permalink
Proposed change to form layout (#121)
Browse files Browse the repository at this point in the history
* Refactoring progress and income too high to fit in the new prototype

* First pass at prototype

* use summary object for content of exit case for income too high

* move the button to the bottom

* Added 2 rows to text area in TextField

* Use a two column layout for all questions
  • Loading branch information
KhalidAdan authored Jan 27, 2022
1 parent dde5fe7 commit 226a1e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Forms/ComponentFactory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const ComponentFactory: React.VFC<FactoryProps> = observer(
? true
: false
const styling = isChildQuestion
? `bg-emphasis px-10 lg:w-[1200px] md:w-[992px] ${
? `bg-emphasis px-10 ${
field.category.key == FieldCategory.SOCIAL_AGREEMENT
? ' mb-10'
: ''
Expand Down

0 comments on commit 226a1e7

Please sign in to comment.