Files
gsfdc/demo-dify/dify/web/app/components/datasets/create/file-preview/index.module.css
T
wuzilongandCursor 6519682885 chore: 纳入本地 Dify 1.19.0 源码及品牌与免登改动
演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-18 13:59:25 +08:00

42 lines
828 B
CSS

@reference "../../../../styles/globals.css";
.filePreview {
@apply flex shrink-0 flex-col border-l border-components-panel-border bg-background-default-lighter;
width: 100%;
}
.previewHeader {
@apply shrink-0 border-b border-divider-subtle;
margin: 42px 32px 0;
padding-bottom: 16px;
}
.previewHeader .title {
@apply flex items-center justify-between text-text-primary;
}
.previewHeader .fileName {
@apply text-text-tertiary;
}
.previewHeader .filetype {
@apply text-text-tertiary;
}
.previewContent {
@apply grow overflow-y-auto text-text-secondary;
padding: 20px 32px;
}
.previewContent .loading {
width: 100%;
height: 180px;
background: transparent center no-repeat url(../assets/Loading.svg);
background-size: contain;
}
.fileContent {
white-space: pre-line;
word-break: break-all;
}