дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
fix(ui): Size Select popups to the widest option and truncate the PR repo name
Virtualised list rows are absolutely positioned, so the popup only took the trigger's width and cut short labels like "Merged". The Pull Requests header now keeps the repository on one line with an ellipsis and a tooltip.
Цей коміт міститься в:
1 джерело
1309ce10e4
коміт
4f74f22624
4 files changed
+38
-4
No files matched your search
@@ -591,5 +591,10 @@ export function PullRequestsView() {
|
||||
export function PullRequestsHeader() {
|
||||
const availability = useGithub((s) => s.availability);
|
||||
if (availability?.kind !== "ready") return null;
|
||||
return <span className={styles.repo}>{availability.repo.nameWithOwner}</span>;
|
||||
const name = availability.repo.nameWithOwner;
|
||||
return (
|
||||
<span className={styles.repo} title={name}>
|
||||
{name}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Заблокувати користувача