style: floating toolbar compatibility (#222)

This commit is contained in:
josc146
2023-04-17 21:15:10 +08:00
parent 78236561b8
commit 375cc16083
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -128,7 +128,10 @@ function FloatingToolbar(props) {
return (
<div data-theme={config.themeMode}>
<div className="chatgptbox-selection-toolbar">
<img src={logo} style="user-select:none;width:24px;height:24px;" />
<img
src={logo}
style="user-select:none;width:24px;height:24px;background:rgba(0,0,0,0);"
/>
{tools}
</div>
</div>
+1 -1
View File
@@ -253,7 +253,7 @@
}
.chatgptbox-selection-toolbar-button {
margin-left: 2px;
margin: 0 2px 0 0;
padding: 2px;
border-radius: 30px;
background-color: #ffffff;