дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
fix(vcs): let Commit and Shelf tree names use the whole row width (#1396)
Tree names in the Commit and Shelf windows were capped at 75% of the row, so long folder names were truncated with empty space left over. Names now take the whole row and the grey detail after them is truncated first. Fixes #1367
Цей коміт міститься в:
1 джерело
a0ac988963
коміт
c3c1d88d10
1 file changed
+6
-2
@@ -62,9 +62,9 @@
|
||||
.icon {
|
||||
flex: none;
|
||||
}
|
||||
/* The name takes the whole row; when it doesn't fit, the grey detail after it gives way first. */
|
||||
.label {
|
||||
flex: 0 0 auto;
|
||||
max-width: 75%;
|
||||
flex: 0 1 auto;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@@ -74,6 +74,7 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
.detail {
|
||||
flex: 0 10000 auto;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@@ -190,6 +191,9 @@
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.stashRow > .detail {
|
||||
flex-shrink: 1;
|
||||
}
|
||||
.stashMessage {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
|
||||
Reference in new issue
Заблокувати користувача