diff options
author | rien333 <rien334@gmail.com> | 2021-01-05 14:12:14 +0100 |
---|---|---|
committer | rien333 <rien334@gmail.com> | 2021-01-05 14:12:14 +0100 |
commit | 4cc61c51826b2d1916afc175e4306ef152cbed47 (patch) | |
tree | c40ef17c7b7507acb4dff8a56e3e3f24b7d9d3f2 | |
parent | 2eb6db1a7567e5e5e0f007846acb6e5060c186ff (diff) | |
download | qutebrowser-4cc61c51826b2d1916afc175e4306ef152cbed47.tar.gz qutebrowser-4cc61c51826b2d1916afc175e4306ef152cbed47.zip |
[readability-js] horizontally align codeblock contents
Before, the first line of a `code` element within a `pre` element had indentation/padding applied to it, creating the illusion that the line started with a space. Now, all the lines in `code` elements horizontally align.
-rwxr-xr-x | misc/userscripts/readability-js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/userscripts/readability-js b/misc/userscripts/readability-js index 310d1c081..5f5c85a78 100755 --- a/misc/userscripts/readability-js +++ b/misc/userscripts/readability-js @@ -76,6 +76,10 @@ const HEADER = ` margin: 0; background-color: #dddddd; } + pre > code { + padding-right: 0; + padding-left: 0; + } blockquote { border-inline-start: 2px solid grey !important; padding: 0; |