debugger: UI refinements (#28589)

- Name of source is only used as a fallback if there's no path
- Make the frames a bit more compact.


![image](https://github.com/user-attachments/assets/74772455-c16e-477f-a962-dffd4575e557)

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-04-11 19:40:25 +02:00 committed by GitHub
parent c2e3134963
commit 78662f8fea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 23 additions and 37 deletions

View file

@ -275,6 +275,8 @@ fn new_debugger_pane(
let active_pane_item = pane.active_item();
h_flex()
.w_full()
.px_2()
.gap_1()
.h(Tab::container_height(cx))
.drag_over::<DraggedTab>(|bar, _, _, cx| {
bar.bg(cx.theme().colors().drop_target_background)