From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/datasets/create/file-preview/index.module.css | 42 ++++++++++++++++++++++++++++--------------
1 files changed, 28 insertions(+), 14 deletions(-)
diff --git a/app/components/datasets/create/file-preview/index.module.css b/app/components/datasets/create/file-preview/index.module.css
index da139fa..929002e 100644
--- a/app/components/datasets/create/file-preview/index.module.css
+++ b/app/components/datasets/create/file-preview/index.module.css
@@ -1,39 +1,53 @@
.filePreview {
- @apply flex flex-col border-l border-components-panel-border shrink-0 bg-background-default-lighter;
+ @apply flex flex-col border-l border-gray-200 shrink-0;
width: 100%;
+ background-color: #fcfcfd;
}
-
+
.previewHeader {
- @apply border-b border-divider-subtle shrink-0;
+ @apply border-b border-gray-200 shrink-0;
margin: 42px 32px 0;
padding-bottom: 16px;
}
-
+
.previewHeader .title {
- @apply flex justify-between items-center text-text-primary;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ color: #101828;
+ font-weight: 600;
+ font-size: 18px;
+ line-height: 28px;
}
-
+
.previewHeader .fileName {
- @apply text-text-tertiary;
+ font-weight: 400;
+ font-size: 12px;
+ line-height: 18px;
+ color: #1D2939;
}
-
+
.previewHeader .filetype {
- @apply text-text-tertiary;
+ color: #667085;
}
-
+
.previewContent {
- @apply overflow-y-auto grow text-text-secondary;
+ @apply overflow-y-auto grow;
padding: 20px 32px;
+ font-weight: 400;
+ font-size: 16px;
+ line-height: 24px;
+ color: #344054;
}
-
+
.previewContent .loading {
width: 100%;
height: 180px;
- background: transparent center no-repeat url(../assets/Loading.svg);
+ background: #f9fafb center no-repeat url(../assets/Loading.svg);
background-size: contain;
}
-
.fileContent {
white-space: pre-line;
word-break: break-all;
}
+
\ No newline at end of file
--
Gitblit v1.8.0