diff --git a/crates/ui/src/dock/tab_panel.rs b/crates/ui/src/dock/tab_panel.rs index 8a20956d..a5dd599f 100644 --- a/crates/ui/src/dock/tab_panel.rs +++ b/crates/ui/src/dock/tab_panel.rs @@ -534,7 +534,8 @@ impl TabPanel { h_flex() .items_center() .top_0() - .right_0() + // Right -1 for avoid border overlap with the first tab + .right(-px(1.)) .border_r_1() .border_b_1() .h_full()