WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Nov 16, 2025. It is now read-only.

Commit 51dfdfd

Browse files
committed
fix(style): Fix minor styles
1 parent 716676d commit 51dfdfd

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "chatgpt-augment",
33
"private": true,
4-
"version": "1.8.5",
4+
"version": "1.8.6",
55
"type": "module",
66
"license": "WTFPL",
77
"scripts": {

src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export const App = () => {
3030
const [colorScheme, setTheme] = useCgptColorScheme();
3131

3232
const [mounted, setMounted] = useState(false);
33-
const { width: w, height: h } = useElsUpdater();
34-
const [tgt, __html, rect] = useRootAnchor(w * h);
33+
useElsUpdater();
34+
const [tgt, __html, rect] = useRootAnchor();
3535
const { width, height, x, y } = rect || { width: 0, height: 0, x: 0, y: 0 };
3636
const isWide = width > 600;
3737
const wrapperStyle = useMemo(

src/comp/workers/TextAreaAugmenter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import {
1515
IconTrash,
1616
} from "@tabler/icons-react";
1717
import { memo } from "react";
18-
import { TokenReaderModal } from "../modals/TokenReaderModal";
1918
import { MacroAddModal } from "../modals/MacroAddModal";
19+
import { TokenReaderModal } from "../modals/TokenReaderModal";
2020

2121
const Worker = ({
2222
textarea,

src/lib/install.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ anchor.id = "cgpt-agmt-root";
99
anchor.style.position = "absolute";
1010
anchor.style.left = "0";
1111
anchor.style.top = "0";
12+
anchor.style.height = "0";
1213

1314
document.body.appendChild(anchor);
1415

0 commit comments

Comments
 (0)