From b132c7291ce5731a3055155d3a187f60d0dd594f Mon Sep 17 00:00:00 2001 From: TheBeastLT Date: Fri, 29 Jul 2022 20:47:40 +0200 Subject: [PATCH] add copy to clipboard on clickin install --- addon/lib/landingTemplate.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/addon/lib/landingTemplate.js b/addon/lib/landingTemplate.js index 8006539..927928b 100644 --- a/addon/lib/landingTemplate.js +++ b/addon/lib/landingTemplate.js @@ -130,10 +130,10 @@ button:active { } .contact { - position: absolute; left: 0; bottom: 4vh; width: 100%; + margin-top: 1vh; text-align: center; } @@ -208,11 +208,6 @@ function landingTemplate(manifest, config = {}) { const background = manifest.background || 'https://dl.strem.io/addon-background.jpg'; const logo = manifest.logo || 'https://dl.strem.io/addon-logo.png'; - const contactHTML = manifest.contactEmail ? - `
-

Contact ${manifest.name} creator:

- ${manifest.contactEmail} -
` : '
'; const providersHTML = Providers.options .map(provider => ``) .join('\n'); @@ -346,7 +341,11 @@ function landingTemplate(manifest, config = {}) { - ${contactHTML} +
+

Or paste into Stremio search bar after clicking install

+
+ +