dify/web/app/components/datasets/create/file-preview/index.module.css
Stephen Zhou 1873b22e96
refactor: update to tailwind v4 (#34415)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-04-02 07:06:11 +00:00

42 lines
890 B
CSS

@reference "../../../../styles/globals.css";
.filePreview {
@apply flex flex-col border-l border-components-panel-border shrink-0 bg-background-default-lighter;
width: 100%;
}
.previewHeader {
@apply border-b border-divider-subtle shrink-0;
margin: 42px 32px 0;
padding-bottom: 16px;
}
.previewHeader .title {
@apply flex justify-between items-center text-text-primary;
}
.previewHeader .fileName {
@apply text-text-tertiary;
}
.previewHeader .filetype {
@apply text-text-tertiary;
}
.previewContent {
@apply overflow-y-auto grow 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;
}