style: rustfmt the right panel's tab row height

This commit is contained in:
l0ng-ai
2026-09-24 08:26:31 +08:00
parent fed4aec170
commit 33aa52ca90
+1 -5
View File
@@ -657,11 +657,7 @@ impl Tty7App {
cx,
);
row.flex_none()
.h(px(if tabs.is_some() {
TAB_ROW_HEIGHT
} else {
32.
}))
.h(px(if tabs.is_some() { TAB_ROW_HEIGHT } else { 32. }))
.items_center()
.pl(px(CONTENT_INSET))
.pr(px(match (&tabs, has_trailing) {