perf: minor fix

This commit is contained in:
Junyan Qin
2025-08-11 20:50:39 +08:00
parent 5f18a1b13a
commit 0021efebd7
2 changed files with 7 additions and 2 deletions

View File

@@ -18,6 +18,11 @@
cursor: pointer; cursor: pointer;
} }
:global(.dark) .botLogCardContainer {
background-color: #1f1f22;
border: 1px solid #2a2a2e;
}
.listHeader { .listHeader {
width: 100%; width: 100%;
height: 2.5rem; height: 2.5rem;

View File

@@ -127,12 +127,12 @@ export default function FileUploadZone({
</div> </div>
<div> <div>
<p className="text-base font-medium text-gray-900"> <p className="text-base font-medium text-gray-900 dark:text-gray-100">
{isUploading {isUploading
? t('knowledge.documentsTab.uploading') ? t('knowledge.documentsTab.uploading')
: t('knowledge.documentsTab.dragAndDrop')} : t('knowledge.documentsTab.dragAndDrop')}
</p> </p>
<p className="text-xs text-gray-500 mt-1"> <p className="text-xs text-gray-500 mt-1 dark:text-gray-400">
{t('knowledge.documentsTab.supportedFormats')} {t('knowledge.documentsTab.supportedFormats')}
</p> </p>
</div> </div>