mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 02:37:21 +00:00
Fix diagnostic popups not having a max width (#16092)
They were probably broken by #14518 Release Notes: - N/A
This commit is contained in:
parent
f8a72b5d0a
commit
aa31f9ded0
1 changed files with 2 additions and 0 deletions
|
@ -733,6 +733,8 @@ impl DiagnosticPopover {
|
||||||
.id("diagnostic")
|
.id("diagnostic")
|
||||||
.block()
|
.block()
|
||||||
.max_h(max_size.height)
|
.max_h(max_size.height)
|
||||||
|
.overflow_y_scroll()
|
||||||
|
.max_w(max_size.width)
|
||||||
.elevation_2_borderless(cx)
|
.elevation_2_borderless(cx)
|
||||||
// Don't draw the background color if the theme
|
// Don't draw the background color if the theme
|
||||||
// allows transparent surfaces.
|
// allows transparent surfaces.
|
||||||
|
|
Loading…
Reference in a new issue