Skip to content

Commit 9c972c7

Browse files
finnurbrekidevtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com
authored andcommitted
[GreenDevFloaty]: Fix problems with squished conversation messages.
This is a fix for large conversation messages squishing other conversation messages (vertically) and often also the controls at the bottom (inside the blue box). Bug: None Change-Id: I5c9b3679161e55f386ea1a039a556615f375ab4f Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7766592 Auto-Submit: Finnur Thorarinsson <finnur@chromium.org> Commit-Queue: Alina Varkki <alinavarkki@chromium.org> Reviewed-by: Alina Varkki <alinavarkki@chromium.org>
1 parent f68bcfd commit 9c972c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

front_end/entrypoints/greendev_floaty/floaty.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ html, body {
9999
overflow-wrap: break-word;
100100
line-height: 1.4;
101101
white-space: pre-wrap; /* Preserve newlines */
102+
flex-shrink: 0;
103+
min-height: min-content;
102104
}
103105

104106
.user-message {
@@ -182,6 +184,7 @@ html, body {
182184
flex-direction: column;
183185
gap: 8px;
184186
border: 1px solid #d3e3fd;
187+
flex-shrink: 0;
185188
}
186189

187190
.green-dev-floaty-dialog-node-description {

0 commit comments

Comments
 (0)