Interactive-SICP: Mobile bug fixes #1805
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Left-align text instead of justify
Justified text is hard to read when there are short lines (common when viewing on mobile) and is generally thought to be a bad idea on web text. Changed to left align instead.
Set default image scale to 100%.
Images on mobile were not scaled properly, requiring users to scroll left and right to see the full image. Images now default to 100% scale. This can be overridden by changing web_scale property in xml files.
Before:
After:
![Screenshot 2021-06-18 at 4 25 41 PM](https://user-images.githubusercontent.com/60355570/122531174-d4707400-d051-11eb-99a6-f67a4c1a4883.png)
This change affects the desktop version as well for consistency, with images now scaled to 100% width unless otherwise specified.
![Screenshot 2021-06-18 at 4 27 05 PM](https://user-images.githubusercontent.com/60355570/122531395-0681d600-d052-11eb-9290-cda5f26601af.png)
Before:
![Screenshot 2021-06-18 at 4 28 36 PM](https://user-images.githubusercontent.com/60355570/122531645-48ab1780-d052-11eb-9ef9-4237237b5219.png)
After:
![Screenshot 2021-06-18 at 4 28 45 PM](https://user-images.githubusercontent.com/60355570/122531660-4cd73500-d052-11eb-8bce-906cd0297248.png)
Type of change
How to test
Ensure changes in description are working correctly.
Checklist
I have updated the documentation