fix: Add margin around page container (#38)

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.
This commit is contained in:
james-xli 2024-12-18 23:07:22 -08:00
parent 439506b58e
commit 7f8b4a12cf

View file

@ -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;
}