ResearchKit / AppCore

Core code shared by the initial ResearchKit apps.
Other
262 stars 82 forks source link

Consent PDF is wider than view #109

Closed ghost closed 9 years ago

ghost commented 9 years ago

Re: commit 12b4dfd3 (Implement onboarding manager) https://github.com/ResearchKit/AppCore/pull/49/

We see that the consent pdf is wider than the view. May be an issue with css in html file, or some problem with the storyboard. ios simulator screen shot jul 21 2015 2 04 49 pm

p2 commented 9 years ago

I had the same problem: https://github.com/ResearchKit/ResearchKit/issues/243

Turns out this was refactored in ResearchKit and the HTML page body gets created around your consent. Our HTML documents now only include the content itself and the view sizes them correctly.

<h2>Overview</h2>
<p>
    Today’s mobile devices...
</p>
<p>
    ...
</p>
ghost commented 9 years ago

Closing as duplicate of ResearchKit/ResearchKit#243

ghost commented 9 years ago

@p2 thanks for this note.