cds-snc / ircc-rescheduler

🙅🗓
https://vancouver.rescheduler-dev.cds-snc.ca/
MIT License
24 stars 7 forks source link

Preserved line breaks #457

Closed nmakuch closed 6 years ago

nmakuch commented 6 years ago

This PR consists of the following:

Our site is currently performing like this:

TextArea Input ReviewPage Output
screen shot 2018-09-14 at 18 04 52 screen shot 2018-09-14 at 18 05 06

We want to be preserving the line breaks on the familyOption row of the Summary component

New CSS applied to preserve line breaks on the familyOption row

TextArea Input ReviewPage Output
screen shot 2018-09-14 at 18 04 52 screen shot 2018-09-14 at 18 05 00

New CSS applied to preserve line breaks on the Explanation row

TextArea Input ReviewPage Output
screen shot 2018-09-14 at 18 09 01 screen shot 2018-09-14 at 18 08 53

This PR addresses Issue #424

nmakuch commented 6 years ago

@emanelfy since we are preserving the line breaks on these sections of the Review Page the chances are these will most likely be multi-line strings. Would we still want the 'Change' link to be bottom aligned?

edit: I think this is actually only relevant to the familyOption section