Fix diagnostic popups not having a max width (#16092)
They were probably broken by #14518 Release Notes: - N/A
This commit is contained in:
@@ -733,6 +733,8 @@ impl DiagnosticPopover {
|
||||
.id("diagnostic")
|
||||
.block()
|
||||
.max_h(max_size.height)
|
||||
.overflow_y_scroll()
|
||||
.max_w(max_size.width)
|
||||
.elevation_2_borderless(cx)
|
||||
// Don't draw the background color if the theme
|
||||
// allows transparent surfaces.
|
||||
|
||||
Reference in New Issue
Block a user