fix: file name truncation in list and grid views (#110)

- List view: add min-width:0 and overflow:hidden to .name-cell,
  add text-overflow:ellipsis to the name span, prevent icon shrink
- Grid view: add text-overflow:ellipsis to .file-name

Closes #110
This commit is contained in:
Dionisio
2026-02-15 23:54:09 +01:00
parent 7737ed90c7
commit 66b4acd9d6
+13
View File
@@ -1791,6 +1791,10 @@ select:focus {
text-align: center;
margin-bottom: 5px;
color: #2d3748;
max-width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.file-info {
@@ -1857,6 +1861,14 @@ select:focus {
display: flex;
align-items: center;
gap: 12px;
min-width: 0;
overflow: hidden;
}
.file-item .name-cell span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.file-item .file-icon {
@@ -1868,6 +1880,7 @@ select:focus {
border-radius: 8px;
font-size: 20px;
margin-bottom: 0;
flex-shrink: 0;
}
.file-item .file-icon.folder-icon {