diff options
author | NunoSempere <nuno.sempere@protonmail.com> | 2024-02-11 13:52:38 +0100 |
---|---|---|
committer | NunoSempere <nuno.sempere@protonmail.com> | 2024-02-11 13:52:38 +0100 |
commit | 9113aac95797e4b8944b17f2e439a5866a05087b (patch) | |
tree | 3483758cf94e514f01c9b36b337d9614a245d229 /plugins/readability | |
parent | 2896ff4e52241c7cb3ee24f91527c42ef0bfbecb (diff) |
some code simplification
- don't have main and "setup" as two separate functions
- declare all global variables at the same time
Diffstat (limited to 'plugins/readability')
-rw-r--r-- | plugins/readability/readability.c | 2 | ||||
-rw-r--r-- | plugins/readability/readability.h | 2 | ||||
-rw-r--r-- | plugins/readability/readability.js | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/plugins/readability/readability.c b/plugins/readability/readability.c index ae18073..4acb310 100644 --- a/plugins/readability/readability.c +++ b/plugins/readability/readability.c @@ -1,7 +1,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#define READABILITY_N 88023 + 1000 +#define READABILITY_N 88067 + 1000 void read_readability_js(char* string) { diff --git a/plugins/readability/readability.h b/plugins/readability/readability.h index 11ec2ae..90d8ba0 100644 --- a/plugins/readability/readability.h +++ b/plugins/readability/readability.h @@ -1,7 +1,7 @@ #ifndef READABILITY #define READABILITY -#define READABILITY_N 88023 + 1000 +#define READABILITY_N 88067 + 1000 void read_readability_js(char* string); diff --git a/plugins/readability/readability.js b/plugins/readability/readability.js index 3bef151..bf7169d 100644 --- a/plugins/readability/readability.js +++ b/plugins/readability/readability.js @@ -2615,12 +2615,13 @@ var style_sheet_simple = ` <style type="text/css"> body { - padding: 40px 200px 40px 200px; + padding: 40px 200px 40px 200px !important; font-size: 18px; font: 18px/1.5 Roboto; line-height: 1.6; background-color: #FEFEFE !important; color: #444 !important; + max-width: 99% !important; } #readOverlay { |