дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-06 10:07:11 +02:00
fix(debugger): keep values readable beside long type labels (#5185)
Keep debugger values readable beside long runtime types. The row reserves space for a value preview based on its length, so short values leave more room for names. A truncated type can still be read on hover, and the full type appears when the pane has room.
Цей коміт міститься в:
1 джерело
c5824771c1
коміт
b7f3df0472
2 files changed
+60
-4
No files matched your search
@@ -55,7 +55,8 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-1);
|
||||
min-width: min(8ch, 45%);
|
||||
/* Cap the automatic flex minimum at the space needed for a short preview. */
|
||||
width: min(14ch, 50%);
|
||||
flex: 1 1 0;
|
||||
}
|
||||
|
||||
@@ -135,9 +136,8 @@
|
||||
}
|
||||
|
||||
.type {
|
||||
min-width: 0;
|
||||
max-width: 25%;
|
||||
flex: 0 1 auto;
|
||||
min-width: min(3ch, 10%);
|
||||
flex: 0 4 auto;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
color: var(--fg-subtle);
|
||||
|
||||
Reference in new issue
Заблокувати користувача