ribbon: wrap a key-tip label anchor line over 100 columns

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-15 00:02:07 +03:00
1 parent abbd8365e0
commit 18850e82e4
1 file changed
+4 -2
+4 -2
View File
@@ -1012,8 +1012,10 @@ impl Ribbon {
color: (!is_current || disabled)
.then_some(theme.palette().background.base.text.scale_alpha(0.72)),
});
let label_el =
keytips::label_anchor(|| keytips::label_id(&keytips::item_anchor(dd_id, cmd)), label_el);
let label_el = keytips::label_anchor(
|| keytips::label_id(&keytips::item_anchor(dd_id, cmd)),
label_el,
);
let item = button(
row![checkmark, icon_el, label_el]