Skip to content

Commit 7070132

Browse files
committed
style: floating toolbar compatibility (#222)
1 parent 1fd1e98 commit 7070132

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/components/FloatingToolbar/index.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@ function FloatingToolbar(props) {
128128
return (
129129
<div data-theme={config.themeMode}>
130130
<div className="chatgptbox-selection-toolbar">
131-
<img src={logo} style="user-select:none;width:24px;height:24px;" />
131+
<img
132+
src={logo}
133+
style="user-select:none;width:24px;height:24px;background:rgba(0,0,0,0);"
134+
/>
132135
{tools}
133136
</div>
134137
</div>

src/content-script/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
}
254254

255255
.chatgptbox-selection-toolbar-button {
256-
margin-left: 2px;
256+
margin: 0 2px 0 0;
257257
padding: 2px;
258258
border-radius: 30px;
259259
background-color: #ffffff;

0 commit comments

Comments
 (0)