дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 17:21:13 +02:00
fix(debugger): fit the full value viewer to its popup (#4958)
Size the debugger's full-value popup to the workbench and let the text fill the available space as the popup grows. Render the value with the configured editor font, line height and tab width. Keep the resized popup visible if the workbench shrinks.
Цей коміт міститься в:
1 джерело
bff0761c48
коміт
5563345a8f
4 files changed
+142
-13
No files matched your search
@@ -92,23 +92,32 @@
|
||||
border-radius: var(--radius-small);
|
||||
}
|
||||
|
||||
.valuePopupContent {
|
||||
padding: 12px 16px;
|
||||
.valuePopup {
|
||||
height: clamp(240px, 50vh, 560px);
|
||||
}
|
||||
|
||||
.valuePopup > [data-dialog-body] {
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.valuePopupValue {
|
||||
max-height: min(420px, calc(100vh - 120px));
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
padding: var(--space-3) var(--space-4);
|
||||
overflow: auto;
|
||||
color: var(--fg);
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--fs-code);
|
||||
font-weight: var(--fw-code);
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
overflow-wrap: anywhere;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.valuePopupValue:focus-visible {
|
||||
outline: 1px solid var(--focus-ring);
|
||||
outline-offset: -1px;
|
||||
}
|
||||
|
||||
.number {
|
||||
color: var(--syn-number);
|
||||
}
|
||||
|
||||
Reference in new issue
Заблокувати користувача