gaiaresources / ala-citizenscience

Automatically exported from code.google.com/p/ala-citizenscience
1 stars 4 forks source link

[Atlas Form] Location text does not wrap on read-only form #239

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a record in an Atlas project with a long text location.
2. View the record on the atlas form.

What is the expected output? What do you see instead?
The location text should wrap but instead it is covered by the map.

Original issue reported on code.google.com by stepha...@gaiaresources.com.au on 3 May 2012 at 2:52

GoogleCodeExporter commented 9 years ago
This was due to the style:
white-space: pre;

which only wraps on line breaks.  Replaced with:
white-space: pre-wrap;

which will wrap text as appropriate to container size as well as on line breaks.

Original comment by stepha...@gaiaresources.com.au on 3 May 2012 at 5:35

GoogleCodeExporter commented 9 years ago
Replaced all other white-space: pre; with white-space: pre-wrap; for good 
measure because it doesn't change anything that already exists, but keeps text 
inside its container.

Original comment by stepha...@gaiaresources.com.au on 3 May 2012 at 5:37

GoogleCodeExporter commented 9 years ago
Fixed in r294

Original comment by stepha...@gaiaresources.com.au on 4 May 2012 at 3:48