From 89ddca396d9a4ed18438d8a767d9774a5c4d89d5 Mon Sep 17 00:00:00 2001 From: nickhudson Date: Thu, 6 Jun 2024 22:54:31 -0400 Subject: [PATCH] updated tracking and stuff --- dark-modeify-me/css/styles.css | 4 ++-- dark-modeify-me/index.html | 2 +- dark-modeify-me/scripts/js/main.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dark-modeify-me/css/styles.css b/dark-modeify-me/css/styles.css index 567ae92..ce4464e 100644 --- a/dark-modeify-me/css/styles.css +++ b/dark-modeify-me/css/styles.css @@ -536,8 +536,8 @@ label[for=upload] { font-size: 12px; } - #form-upload { - max-width: 24em; + #form-upload, .pop-wrapper { + max-width: 40em; } .pop-arrow { diff --git a/dark-modeify-me/index.html b/dark-modeify-me/index.html index 23e6e6d..34677ea 100644 --- a/dark-modeify-me/index.html +++ b/dark-modeify-me/index.html @@ -48,7 +48,7 @@

Transform Your Email to Dark Mode!

Compatibility Notes:

diff --git a/dark-modeify-me/scripts/js/main.js b/dark-modeify-me/scripts/js/main.js index 3bb0937..1edeca5 100644 --- a/dark-modeify-me/scripts/js/main.js +++ b/dark-modeify-me/scripts/js/main.js @@ -30,12 +30,12 @@ function trackInput(event='') { gtag('event', 'user_input', { input_type: event?.type, js_name: event?.constructor.name, - value: + input_html: targ.value || targ.outerHTML || targ.innerHTML || targ.alt || - 'input', + 'N/A', description: targ.name || targ.alt || @@ -43,7 +43,7 @@ function trackInput(event='') { targ.outerText || label?.innerText || targ.placeholder || - 'N/A' + 'input' }); } }