This PR fixes an issue where the tab bar drop target was not receiving any size. The styling isn't 100% correct yet, as the updated background color has a gap around it. Release Notes: - N/A
Unified · Split
| @@ -1664,6 +1664,10 @@ impl Pane { · 1663 unmodified lines | |||
| 1664 | ) | 1664 | ) |
| 1665 | .child( | 1665 | .child( |
| 1666 | div() | 1666 | div() |
| 1667 | .min_w_6() | ||
| 1668 | // HACK: This empty child is currently necessary to force the drop traget to appear | ||
| 1669 | // despite us setting a min width above. | ||
| 1670 | .child("") | ||
| 1667 | .h_full() | 1671 | .h_full() |
| 1668 | .flex_grow() | 1672 | .flex_grow() |
| 1669 | .drag_over::<DraggedTab>(|bar| { | 1673 | .drag_over::<DraggedTab>(|bar| { |