2023-05-15 00:51:32 +00:00
|
|
|
.filePreview {
|
2025-03-19 03:19:57 +00:00
|
|
|
@apply flex flex-col border-l border-components-panel-border shrink-0 bg-background-default-lighter;
|
2024-12-26 04:01:51 +00:00
|
|
|
width: 100%;
|
2023-05-15 00:51:32 +00:00
|
|
|
}
|
2025-04-29 10:04:33 +00:00
|
|
|
|
2023-05-15 00:51:32 +00:00
|
|
|
.previewHeader {
|
2025-03-19 03:19:57 +00:00
|
|
|
@apply border-b border-divider-subtle shrink-0;
|
2023-05-15 00:51:32 +00:00
|
|
|
margin: 42px 32px 0;
|
|
|
|
|
padding-bottom: 16px;
|
|
|
|
|
}
|
2025-04-29 10:04:33 +00:00
|
|
|
|
2023-05-15 00:51:32 +00:00
|
|
|
.previewHeader .title {
|
2025-03-19 03:19:57 +00:00
|
|
|
@apply flex justify-between items-center text-text-primary;
|
2023-05-15 00:51:32 +00:00
|
|
|
}
|
2025-04-29 10:04:33 +00:00
|
|
|
|
2023-05-15 00:51:32 +00:00
|
|
|
.previewHeader .fileName {
|
2025-03-19 03:19:57 +00:00
|
|
|
@apply text-text-tertiary;
|
2023-05-15 00:51:32 +00:00
|
|
|
}
|
2025-04-29 10:04:33 +00:00
|
|
|
|
2023-05-15 00:51:32 +00:00
|
|
|
.previewHeader .filetype {
|
2025-03-19 03:19:57 +00:00
|
|
|
@apply text-text-tertiary;
|
2023-05-15 00:51:32 +00:00
|
|
|
}
|
2025-04-29 10:04:33 +00:00
|
|
|
|
2023-05-15 00:51:32 +00:00
|
|
|
.previewContent {
|
2025-03-19 03:19:57 +00:00
|
|
|
@apply overflow-y-auto grow text-text-secondary;
|
2023-05-15 00:51:32 +00:00
|
|
|
padding: 20px 32px;
|
|
|
|
|
}
|
2025-04-29 10:04:33 +00:00
|
|
|
|
2023-05-15 00:51:32 +00:00
|
|
|
.previewContent .loading {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 180px;
|
2025-04-14 07:45:23 +00:00
|
|
|
background: transparent center no-repeat url(../assets/Loading.svg);
|
2023-05-15 00:51:32 +00:00
|
|
|
background-size: contain;
|
|
|
|
|
}
|
2025-04-29 10:04:33 +00:00
|
|
|
|
2023-05-22 01:09:53 +00:00
|
|
|
.fileContent {
|
|
|
|
|
white-space: pre-line;
|
2024-12-26 04:01:51 +00:00
|
|
|
word-break: break-all;
|
2023-05-22 01:09:53 +00:00
|
|
|
}
|