mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 16:08:05 +00:00
Merge pull request #1797 from a-rookie-of-C-language/fix/open-recent-path-tooltip
fix(menu): show tooltip for truncated labels
This commit is contained in:
+3
-1
@@ -273,7 +273,9 @@ export function MenuList({ items, onDone, onCloseLevel, autoFocusFirst = true, .
|
||||
<span className={styles.icon} data-menu-icon={!r.checked && r.icon ? "" : undefined}>
|
||||
{r.checked ? <Icon name="check" size={13} /> : r.icon ? <Icon name={r.icon} size={14} /> : null}
|
||||
</span>
|
||||
<span className={styles.label}>{r.label}</span>
|
||||
<span className={styles.label} title={r.label}>
|
||||
{r.label}
|
||||
</span>
|
||||
{r.shortcut && <span className={styles.shortcut}>{r.shortcut}</span>}
|
||||
{hasSub && <Icon name="chevron-right" size={14} className={styles.subArrow} />}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user