collab_ui: Fix channel text bleeding through buttons on hover (#36710)
Release Notes: - N/A
This commit is contained in:
parent
c1e749906f
commit
33e05f15b2
1 changed files with 6 additions and 5 deletions
|
@ -2905,6 +2905,8 @@ impl CollabPanel {
|
||||||
h_flex().absolute().right(rems(0.)).h_full().child(
|
h_flex().absolute().right(rems(0.)).h_full().child(
|
||||||
h_flex()
|
h_flex()
|
||||||
.h_full()
|
.h_full()
|
||||||
|
.bg(cx.theme().colors().background)
|
||||||
|
.rounded_l_sm()
|
||||||
.gap_1()
|
.gap_1()
|
||||||
.px_1()
|
.px_1()
|
||||||
.child(
|
.child(
|
||||||
|
@ -2920,8 +2922,7 @@ impl CollabPanel {
|
||||||
.on_click(cx.listener(move |this, _, window, cx| {
|
.on_click(cx.listener(move |this, _, window, cx| {
|
||||||
this.join_channel_chat(channel_id, window, cx)
|
this.join_channel_chat(channel_id, window, cx)
|
||||||
}))
|
}))
|
||||||
.tooltip(Tooltip::text("Open channel chat"))
|
.tooltip(Tooltip::text("Open channel chat")),
|
||||||
.visible_on_hover(""),
|
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
IconButton::new("channel_notes", IconName::Reader)
|
IconButton::new("channel_notes", IconName::Reader)
|
||||||
|
@ -2936,9 +2937,9 @@ impl CollabPanel {
|
||||||
.on_click(cx.listener(move |this, _, window, cx| {
|
.on_click(cx.listener(move |this, _, window, cx| {
|
||||||
this.open_channel_notes(channel_id, window, cx)
|
this.open_channel_notes(channel_id, window, cx)
|
||||||
}))
|
}))
|
||||||
.tooltip(Tooltip::text("Open channel notes"))
|
.tooltip(Tooltip::text("Open channel notes")),
|
||||||
.visible_on_hover(""),
|
)
|
||||||
),
|
.visible_on_hover(""),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
.tooltip({
|
.tooltip({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue