Keep extension progress visible while scrolling

This commit is contained in:
DESKTOP-KSVGT20\shkim
2026-05-02 01:53:44 +09:00
parent 5566988cd1
commit bf60f3357d
+13 -2
View File
@@ -1,7 +1,7 @@
// ==UserScript==
// @name ChatGPT to Suno Prompt Copier
// @namespace local.suno-helper
// @version 0.9.4
// @version 0.9.5
// @description Copy structured ChatGPT song prompt versions into Suno fields.
// @author local
// @match https://chatgpt.com/*
@@ -30,7 +30,7 @@
(function () {
"use strict";
const SCRIPT_VERSION = "0.9.4";
const SCRIPT_VERSION = "0.9.5";
const STORAGE_KEY = "chatgptSunoPromptSlots";
const SLOT_COUNT = 2;
const isChatGPT = location.hostname.includes("chatgpt.com") || location.hostname.includes("chat.openai.com");
@@ -187,6 +187,11 @@
margin-top: 9px;
color: #b7c9ff;
font-size: 12px;
position: sticky;
bottom: 0;
z-index: 2;
padding: 8px 0 2px;
background: rgba(16, 18, 24, 0.96);
}
.cgs-field-list {
display: grid;
@@ -250,6 +255,12 @@
margin-top: 8px;
display: grid;
gap: 4px;
position: sticky;
top: 0;
z-index: 3;
padding: 6px 0 8px;
background: rgba(16, 18, 24, 0.98);
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cgs-progress-label {
color: #b7c9ff;