Skip to content

Commit

Permalink
fix: Add margin around page container (#38)
Browse files Browse the repository at this point in the history
Add margin around page container so that the recognized text of one page doesn't run into that of the next page. 1.2em seems like a reasonable amount for readability. Could maybe go slightly higher.

I also added some margin on the bottom of the recognized text so it's not too close to the image of the page.
  • Loading branch information
james-xli committed Dec 19, 2024
1 parent 439506b commit 7f8b4a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ button.mod-cta {
.page-recognized-text {
user-select: text;
white-space: pre-line;
margin-top: 1.2em;
margin: 1.2em 0;
}

div.page-container {
display: inline-block;
vertical-align: top;
margin: 1.2em;
}

0 comments on commit 7f8b4a1

Please sign in to comment.