diff options
author | Andrew Dolgov <[email protected]> | 2020-09-13 15:14:52 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-09-13 15:14:52 +0300 |
commit | dc85d1d79903e7652058b3f10130fb44f147909d (patch) | |
tree | 5ca3f099ae469b23cdb210c2d9162e1e5bb7e0f8 /js | |
parent | a90c91ca5534e5fa4427e95f90a41056a33b9564 (diff) |
set text-indent for paragraphs
Diffstat (limited to 'js')
-rw-r--r-- | js/reader.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/reader.js b/js/reader.js index 64c3404..d5626f2 100644 --- a/js/reader.js +++ b/js/reader.js @@ -718,6 +718,10 @@ const Reader = { /* embedded styles may conflict with our font sizes, etc */ $(c.document).find("p, span, em, strong, body") .attr("class", ""); + + $(c.document).find("p") + .css("text-indent", "1em"); + }); }); @@ -1050,4 +1054,4 @@ const Reader = { function __get_reader() { return Reader; -}
\ No newline at end of file +} |