From 5e0e84a43bdb40712735f64267c252894cffc3f8 Mon Sep 17 00:00:00 2001 From: josc146 Date: Thu, 30 Mar 2023 21:52:41 +0800 Subject: [PATCH] chore: remove useless css --- src/components/ConversationCard/index.jsx | 6 +- src/popup/Popup.jsx | 116 +++++++++++----------- 2 files changed, 58 insertions(+), 64 deletions(-) diff --git a/src/components/ConversationCard/index.jsx b/src/components/ConversationCard/index.jsx index 9016b23..c5c71f8 100644 --- a/src/components/ConversationCard/index.jsx +++ b/src/components/ConversationCard/index.jsx @@ -175,11 +175,10 @@ function ConversationCard(props) { return (
-
+
{props.closeable ? ( { @@ -189,7 +188,6 @@ function ConversationCard(props) { ) : props.dockable ? ( { @@ -197,7 +195,7 @@ function ConversationCard(props) { }} /> ) : ( - + )} {props.draggable ? (
diff --git a/src/popup/Popup.jsx b/src/popup/Popup.jsx index ecfa7e9..a6516df 100644 --- a/src/popup/Popup.jsx +++ b/src/popup/Popup.jsx @@ -103,23 +103,22 @@ function GeneralPart({ config, updateConfig }) { })} {isUsingMultiModeModel(config) && ( - - - + )} {isUsingApiKey(config) && ( @@ -154,17 +153,16 @@ function GeneralPart({ config, updateConfig }) { )} {isUsingCustomModel(config) && ( - - { - const customModelName = e.target.value - updateConfig({ customModelName: customModelName }) - }} - /> - + { + const customModelName = e.target.value + updateConfig({ customModelName: customModelName }) + }} + /> )} {isUsingCustomModel(config) && ( @@ -181,41 +179,39 @@ function GeneralPart({ config, updateConfig }) {