dify/web/app/components/datasets/create/file-preview/index.module.css
Stephen Zhou a84c2d36a3
style: format with vp fmt (#38803)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-12 15:57:46 +00: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;
}