BlueGit

ict rusty-teams

fix(chat): hover toolbar separator runs the full toolbar height

- toolbar keeps only horizontal padding, buttons stay centered
- separator uses the full 36px height, top edge to bottom edge

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

metis Daniel Däschle · pushed by metis

Authored 2026-10-17 · 6 weeks ago

Hash
43b46980cdeb4aae4c1d1f6f637bb58fe0d5b932
Parent
a22aa619
1 file changed +2 −2
crates/app/src/views/message_actions.rs +2 −2
@@ -292,7 +292,7 @@ pub fn message_toolbar(menu: MessageMenu, cx: &App) -> AnyElement {
292 292 children.push(
293 293 div()
294 294 .w(px(1.))
295 .h(px(16.))
295 .h_full()
296 296 .mx(px(4.))
297 297 .flex_none()
298 298 .bg(theme::popup_hover())
@@ -315,7 +315,7 @@ pub fn message_toolbar(menu: MessageMenu, cx: &App) -> AnyElement {
315 315 children.push(more_button(&menu, cx));
316 316 let bar = h_flex()
317 317 .h(px(TOOLBAR_HEIGHT))
318 .p(px(BAR_PADDING))
318 .px(px(BAR_PADDING))
319 319 .gap(px(1.))
320 320 .items_center()
321 321 .rounded(px(10.))
@@ -292,7 +292,7 @@ pub fn message_toolbar(menu: MessageMenu, cx: &App) -> AnyElement {
292 children.push(
292 children.push(
293 div()
293 div()
294 .w(px(1.))
294 .w(px(1.))
295 .h(px(16.))
295 .h_full()
296 .mx(px(4.))
296 .mx(px(4.))
297 .flex_none()
297 .flex_none()
298 .bg(theme::popup_hover())
298 .bg(theme::popup_hover())
@@ -315,7 +315,7 @@ pub fn message_toolbar(menu: MessageMenu, cx: &App) -> AnyElement {
315 children.push(more_button(&menu, cx));
315 children.push(more_button(&menu, cx));
316 let bar = h_flex()
316 let bar = h_flex()
317 .h(px(TOOLBAR_HEIGHT))
317 .h(px(TOOLBAR_HEIGHT))
318 .p(px(BAR_PADDING))
318 .px(px(BAR_PADDING))
319 .gap(px(1.))
319 .gap(px(1.))
320 .items_center()
320 .items_center()
321 .rounded(px(10.))
321 .rounded(px(10.))