From eee16b56b5a98e1c3ad2cf585706a08bb1637a77 Mon Sep 17 00:00:00 2001 From: "adamlui@protonmail.com" Date: Tue, 24 Sep 2024 18:36:08 +0000 Subject: [PATCH] =?UTF-8?q?Added=20line=20break=20for=20readability=20?= =?UTF-8?q?=E2=86=9E=20[auto-sync=20from=20`adamlui/chatgpt-apps/chatgpt-w?= =?UTF-8?q?idescreen/chrome`]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chrome/extension/content.js | 1 + edge/extension/content.js | 1 + greasemonkey/chatgpt-widescreen-mode.user.js | 3 ++- opera/extension/content.js | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/chrome/extension/content.js b/chrome/extension/content.js index 5448e666..0b9ac0e5 100644 --- a/chrome/extension/content.js +++ b/chrome/extension/content.js @@ -223,6 +223,7 @@ document.documentElement.dataset.colorScheme == 'dark' ? 'oklch(var(--dark-text-color-100)/var(--tw-text-opacity))' : 'oklch(var(--text-color-100)/var(--tw-text-opacity))' ) : 'currentColor' ) + if (btns.wideScreen?.style.fill != btns.color) btns.types.forEach(btnType => { if (btns[btnType]) btns[btnType].style.fill = btns[btnType].style.stroke = btns.color }) diff --git a/edge/extension/content.js b/edge/extension/content.js index 5448e666..0b9ac0e5 100644 --- a/edge/extension/content.js +++ b/edge/extension/content.js @@ -223,6 +223,7 @@ document.documentElement.dataset.colorScheme == 'dark' ? 'oklch(var(--dark-text-color-100)/var(--tw-text-opacity))' : 'oklch(var(--text-color-100)/var(--tw-text-opacity))' ) : 'currentColor' ) + if (btns.wideScreen?.style.fill != btns.color) btns.types.forEach(btnType => { if (btns[btnType]) btns[btnType].style.fill = btns[btnType].style.stroke = btns.color }) diff --git a/greasemonkey/chatgpt-widescreen-mode.user.js b/greasemonkey/chatgpt-widescreen-mode.user.js index 4919deba..e15fc33a 100644 --- a/greasemonkey/chatgpt-widescreen-mode.user.js +++ b/greasemonkey/chatgpt-widescreen-mode.user.js @@ -222,7 +222,7 @@ // @description:zu Engeza izinhlobo zezimodi ze-Widescreen + Fullscreen ku-ChatGPT ukuze kube nokubonakala + ukuncitsha ukusukela // @author Adam Lui // @namespace https://github.com/adamlui -// @version 2024.9.24.11 +// @version 2024.9.24.12 // @license MIT // @compatible chrome // @compatible firefox @@ -728,6 +728,7 @@ document.documentElement.dataset.colorScheme == 'dark' ? 'oklch(var(--dark-text-color-100)/var(--tw-text-opacity))' : 'oklch(var(--text-color-100)/var(--tw-text-opacity))' ) : 'currentColor' ) + if (btns.wideScreen?.style.fill != btns.color) btns.types.forEach(btnType => { if (btns[btnType]) btns[btnType].style.fill = btns[btnType].style.stroke = btns.color }) diff --git a/opera/extension/content.js b/opera/extension/content.js index 5448e666..0b9ac0e5 100644 --- a/opera/extension/content.js +++ b/opera/extension/content.js @@ -223,6 +223,7 @@ document.documentElement.dataset.colorScheme == 'dark' ? 'oklch(var(--dark-text-color-100)/var(--tw-text-opacity))' : 'oklch(var(--text-color-100)/var(--tw-text-opacity))' ) : 'currentColor' ) + if (btns.wideScreen?.style.fill != btns.color) btns.types.forEach(btnType => { if (btns[btnType]) btns[btnType].style.fill = btns[btnType].style.stroke = btns.color })