Skip to content

Commit dba68e7

Browse files
committed
chore
1 parent db35e05 commit dba68e7

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

src/components/FloatingToolbar/index.jsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import Browser from 'webextension-polyfill'
21
import { cloneElement, useCallback, useEffect, useState } from 'react'
32
import ConversationCard from '../ConversationCard'
43
import PropTypes from 'prop-types'
@@ -9,7 +8,7 @@ import { useClampWindowSize } from '../../hooks/use-clamp-window-size'
98
import { useTranslation } from 'react-i18next'
109
import { useConfig } from '../../hooks/use-config.mjs'
1110

12-
const logo = Browser.runtime.getURL('logo.png')
11+
// const logo = Browser.runtime.getURL('logo.png')
1312

1413
function FloatingToolbar(props) {
1514
const { t } = useTranslation()
@@ -140,13 +139,7 @@ function FloatingToolbar(props) {
140139

141140
return (
142141
<div data-theme={config.themeMode}>
143-
<div className="chatgptbox-selection-toolbar">
144-
<img
145-
src={logo}
146-
style="user-select:none;width:24px;height:24px;background:rgba(0,0,0,0);filter:none;"
147-
/>
148-
{tools}
149-
</div>
142+
<div className="chatgptbox-selection-toolbar">{tools}</div>
150143
</div>
151144
)
152145
}

src/content-script/styles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@
14081408
border-radius: 15px;
14091409
padding: 2px;
14101410
background-color: #ffffff;
1411-
box-shadow: 4px 2px 4px rgba(0, 0, 0, 0.2);
1411+
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
14121412
}
14131413

14141414
.chatgptbox-selection-toolbar-button {
@@ -1428,5 +1428,5 @@
14281428
height: auto;
14291429
border-radius: 8px;
14301430
background-color: var(--theme-color);
1431-
box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
1431+
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
14321432
}

0 commit comments

Comments
 (0)