Merge pull request #27378 from overleaf/dp-file-tree-no-wrap

Clip file tree heading text when the panel is narrow

GitOrigin-RevId: f5495099f8e2151324ddaa77011bcfda6b5cc1a3
This commit is contained in:
Alexandre Bourdin
2025-07-29 10:09:18 +02:00
committed by Copybot
parent 7409e0c6d6
commit 2e6b3745ac

View File

@@ -78,6 +78,7 @@
border: 0;
padding: 0 var(--spacing-02);
flex-grow: 1;
overflow: hidden;
&:hover {
background-color: var(--file-tree-item-hover-bg);
@@ -88,6 +89,9 @@
font-size: var(--font-size-02);
margin: 0;
font-weight: normal;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}