Skip to content

Commit 8c2bb3c

Browse files
committed
Updated toggle styles to work w/ new layout ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/autoclear-chatgpt-history]
1 parent 88852d4 commit 8c2bb3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chatgpt/autoclear-chatgpt-history/autoclear-chatgpt-history.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
// @description:zu Ziba itshala lokucabanga okuzoshintshwa ngokuzenzakalelayo uma ukubuka chatgpt.com
226226
// @author Adam Lui
227227
// @namespace https://github.com/adamlui
228-
// @version 2025.5.17
228+
// @version 2025.5.18
229229
// @license MIT
230230
// @icon https://assets.autoclearchatgpt.com/images/icons/openai/black/icon48.png?v=f461c06
231231
// @icon64 https://assets.autoclearchatgpt.com/images/icons/openai/black/icon64.png?v=f461c06
@@ -794,7 +794,7 @@
794794

795795
// Element styles
796796
+ `.${this.class} { /* parent div */
797-
max-height: 37px ; margin: 2px 0 ; user-select: none ; cursor: pointer ;
797+
width: auto ; max-height: 37px ; margin: 2px 0 ; user-select: none ; cursor: pointer ;
798798
opacity: 1 !important ; /* overcome OpenAI click-dim */
799799
justify-content: unset ; /* overcome OpenAI .justify-center */
800800
flex-grow: unset } /* overcome OpenAI .grow */
@@ -829,7 +829,7 @@
829829
-o-transition: 0.4s ; -ms-transition: 0.4s }
830830
.${this.class} > label { /* toggle label */
831831
cursor: pointer ; overflow: hidden ; text-overflow: ellipsis ; white-space: nowrap ;
832-
color: black ; padding: 0 12px ; flex-grow: 1 ;
832+
color: black ; padding: 0 8px ; flex-grow: 1 ;
833833
${ firstLink ? 'font-size: var(--text-sm)' : 'font-size: 0.875rem ; font-weight: 600' }}`
834834

835835
// Dark scheme mods

0 commit comments

Comments
 (0)