diff --git a/src/components/ConversationItem/index.jsx b/src/components/ConversationItem/index.jsx index 9ef77344..44a5ec27 100644 --- a/src/components/ConversationItem/index.jsx +++ b/src/components/ConversationItem/index.jsx @@ -35,7 +35,7 @@ export function ConversationItem({ type, content, descName, modelName, onRetry } switch (type) { case 'question': return ( -
+

{t('You')}:

@@ -65,7 +65,7 @@ export function ConversationItem({ type, content, descName, modelName, onRetry } ) case 'answer': return ( -
+
@@ -102,7 +102,7 @@ export function ConversationItem({ type, content, descName, modelName, onRetry } ) case 'error': return ( -
+

{t('Error')}:

diff --git a/src/content-script/styles.scss b/src/content-script/styles.scss index 61ad5082..c99ff6a6 100644 --- a/src/content-script/styles.scss +++ b/src/content-script/styles.scss @@ -1264,11 +1264,11 @@ white-space: nowrap; } - .question { + .chatgptbox-question { background: var(--question-bg-color); } - :is(.answer, .question, .error) { + :is(.chatgptbox-answer, .chatgptbox-question, .chatgptbox-error) { font-size: 15px; line-height: 1.6; padding: 4px 15px; @@ -1332,7 +1332,7 @@ } } - .error { + .chatgptbox-error { p { color: #ec4336; }