Skip to content

Commit da69013

Browse files
authored
Fix cutoff content for history prompt list / code diff viewer (#916)
I noticed that the Angular dialog sets a 65vh. But our code is using 80vh. So I set it to 65vh to match. One consideration though is whether this 65vh changes dynamically or not. I did try adjusting viewport sizes in Chrome dev tools and it seemed like it stayed at 65vh but not sure. Closes #908
1 parent 41692f5 commit da69013

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mesop/web/src/editor_toolbar/editor_toolbar.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ class EditorPromptResponseDialog {
414414
display: flex;
415415
flex-direction: column;
416416
gap: 12px;
417-
max-height: 80vh;
417+
max-height: 65vh;
418418
overflow-y: auto;
419419
}
420420
.prompt-item {
@@ -429,7 +429,7 @@ class EditorPromptResponseDialog {
429429
}
430430
.code-display {
431431
flex: 1;
432-
max-height: 80vh;
432+
max-height: 65vh;
433433
overflow-y: auto;
434434
}
435435
.save-interaction-button {

0 commit comments

Comments
 (0)