fix FileExplorerList.vue fileName

This commit is contained in:
Timi
2026-04-04 22:38:19 +08:00
parent 594d1b4222
commit 788db69bc8
2 changed files with 11 additions and 3 deletions

View File

@@ -165,17 +165,17 @@ const contentHeight = computed(() => {
top: 0; top: 0;
left: 0; left: 0;
right: 0; right: 0;
position: fixed;
z-index: 1100; z-index: 1100;
position: fixed;
:deep(.t-navbar) { :deep(.t-navbar) {
position: relative;
z-index: 1; z-index: 1;
position: relative;
} }
:deep(.t-navbar__content) { :deep(.t-navbar__content) {
color: var(--tui-black, #000); color: var(--tui-black, #000);
border-bottom: 1px solid var(--app-line); border-bottom: 1px solid rgba(0, 0, 0, .1);
background: rgba(250, 250, 250, .8); background: rgba(250, 250, 250, .8);
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);

View File

@@ -115,6 +115,12 @@ function handleOpen(item: ExplorerItem): void {
.cell { .cell {
&:deep(.t-cell__content) {
flex: 1 1 auto;
overflow: hidden;
min-width: 0;
}
&:deep(.t-cell__title) { &:deep(.t-cell__title) {
flex: 1 1 auto; flex: 1 1 auto;
overflow: hidden; overflow: hidden;
@@ -122,6 +128,8 @@ function handleOpen(item: ExplorerItem): void {
} }
&:deep(.t-cell__title-text) { &:deep(.t-cell__title-text) {
width: 100%;
display: block;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;