From 788db69bc88af54a7477538a4e60ba9e2449ee7b Mon Sep 17 00:00:00 2001 From: Timi Date: Sat, 4 Apr 2026 22:38:19 +0800 Subject: [PATCH] fix FileExplorerList.vue fileName --- src/layout/MainLayout.vue | 6 +++--- src/pages/file/FileExplorerList.vue | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/layout/MainLayout.vue b/src/layout/MainLayout.vue index 2630780..99e500e 100644 --- a/src/layout/MainLayout.vue +++ b/src/layout/MainLayout.vue @@ -165,17 +165,17 @@ const contentHeight = computed(() => { top: 0; left: 0; right: 0; - position: fixed; z-index: 1100; + position: fixed; :deep(.t-navbar) { - position: relative; z-index: 1; + position: relative; } :deep(.t-navbar__content) { 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); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); diff --git a/src/pages/file/FileExplorerList.vue b/src/pages/file/FileExplorerList.vue index 8edeb7e..e6a41cf 100644 --- a/src/pages/file/FileExplorerList.vue +++ b/src/pages/file/FileExplorerList.vue @@ -115,6 +115,12 @@ function handleOpen(item: ExplorerItem): void { .cell { + &:deep(.t-cell__content) { + flex: 1 1 auto; + overflow: hidden; + min-width: 0; + } + &:deep(.t-cell__title) { flex: 1 1 auto; overflow: hidden; @@ -122,6 +128,8 @@ function handleOpen(item: ExplorerItem): void { } &:deep(.t-cell__title-text) { + width: 100%; + display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;