mirror of
https://github.com/langgenius/dify.git
synced 2026-07-23 03:58:31 +08:00
42 lines
828 B
CSS
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;
|
|
}
|