diff --git a/crates/ui2/src/components/tab.rs b/crates/ui2/src/components/tab.rs index 6eebaa1e0b41926ff3c83d1de1b09de3afb99bab..e9d03e9caeea07f31f5565f01f350fb787b8cbd9 100644 --- a/crates/ui2/src/components/tab.rs +++ b/crates/ui2/src/components/tab.rs @@ -110,6 +110,7 @@ impl Tab { }; div() + .id("tab") .px_2() .py_0p5() .flex() @@ -117,7 +118,7 @@ impl Tab { .justify_center() .bg(tab_bg) .hover(|h| h.bg(tab_hover_bg)) - // .active(|a| a.bg(tab_active_bg)) + .active(|a| a.bg(tab_active_bg)) .child( div() .px_1()