Fix tab bar drop target sizing (#3627)
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
This commit is contained in:
parent
226d4929b5
commit
988fb91a61
1 changed files with 4 additions and 0 deletions
|
@ -1664,6 +1664,10 @@ impl Pane {
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
div()
|
div()
|
||||||
|
.min_w_6()
|
||||||
|
// HACK: This empty child is currently necessary to force the drop traget to appear
|
||||||
|
// despite us setting a min width above.
|
||||||
|
.child("")
|
||||||
.h_full()
|
.h_full()
|
||||||
.flex_grow()
|
.flex_grow()
|
||||||
.drag_over::<DraggedTab>(|bar| {
|
.drag_over::<DraggedTab>(|bar| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue