diff --git a/packages/ui/src/lib/Tooltip.svelte b/packages/ui/src/lib/Tooltip.svelte
index 117a77abe..ad0fb68e9 100644
--- a/packages/ui/src/lib/Tooltip.svelte
+++ b/packages/ui/src/lib/Tooltip.svelte
@@ -101,6 +101,7 @@
max-width: 240px;
padding: 4px 8px;
z-index: var(--z-blocker);
+ word-break: break-word;
text-align: left;
box-shadow: var(--fx-shadow-s);
}
diff --git a/packages/ui/src/lib/file/FileListItem.svelte b/packages/ui/src/lib/file/FileListItem.svelte
index 9d283c392..4a5e42965 100644
--- a/packages/ui/src/lib/file/FileListItem.svelte
+++ b/packages/ui/src/lib/file/FileListItem.svelte
@@ -91,12 +91,15 @@
{/if}
-
+
{fileInfo.filename}
-
- {fileInfo.path}
-
+
+
+
+ {fileInfo.path}
+
+
@@ -181,8 +184,8 @@
opacity var(--transition-fast);
}
+ /* INFO */
.info {
- pointer-events: none;
display: flex;
align-items: center;
flex-grow: 1;
@@ -192,21 +195,23 @@
}
.name {
- color: var(--clr-scale-ntrl-0);
- white-space: nowrap;
- flex-shrink: 0;
- text-overflow: ellipsis;
- overflow: hidden;
+ flex-shrink: 1;
+ flex-grow: 0;
+ min-width: 40px;
+ pointer-events: none;
+ color: var(--clt-text-1);
}
.path {
- color: var(--clr-scale-ntrl-0);
+ flex-shrink: 0;
+ flex-grow: 1;
+ flex-basis: 0px;
+ min-width: 50px;
+ color: var(--clt-text-1);
line-height: 120%;
flex-shrink: 1;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
opacity: 0.3;
+ transition: opacity var(--transition-fast);
}
/* DETAILS */