diff --git a/crates/client/src/gui/chat.rs b/crates/client/src/gui/chat.rs index 0fd8f82..ec20123 100644 --- a/crates/client/src/gui/chat.rs +++ b/crates/client/src/gui/chat.rs @@ -3559,6 +3559,9 @@ fn render_message( .flex_col() .min_w_0() .hover(|style| style.bg(palette.hover)) + .when(chat.hover_bar == Some(message.id), |this| { + this.bg(palette.hover) + }) .when(first && spaced && !selecting, |this| this.mt(px(space::LG))) .when(highlighted, |this| this.bg(palette.tokens.press())) .when(mentioned, |this| { @@ -3680,7 +3683,7 @@ fn render_message( div() .absolute() .right_0() - .top(px(-space::LG)) + .bottom(gpui_kit::relative(1.)) .child(message_actions::actions(message, chat, me, entity, palette)) })), ) diff --git a/crates/client/src/gui/message_actions.rs b/crates/client/src/gui/message_actions.rs index db55311..8dc9754 100644 --- a/crates/client/src/gui/message_actions.rs +++ b/crates/client/src/gui/message_actions.rs @@ -92,7 +92,7 @@ pub fn react_popover( let entity = entity.clone(); Popover::new(format!("react_{}", message.id)) - .anchor(Anchor::TopRight) + .anchor(Anchor::BottomRight) .appearance(false) .trigger(trigger_icon( format!("react_trigger_{}", message.id),