diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-05-06 15:17:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 07:17:22 +0000 |
commit | eda10cc2bb229a6b13ace76caea118384b381429 (patch) | |
tree | 50bb4a2e07cc88e56d92ecd60deb9ba79069bcb8 /web_src/js/features | |
parent | ce8b11ae131bef6cd7df0849ed39da7984953a4b (diff) | |
download | gitea-eda10cc2bb229a6b13ace76caea118384b381429.tar.gz gitea-eda10cc2bb229a6b13ace76caea118384b381429.zip |
Fix some UI problems (dropdown/container) (#30849)
Follow #30345
Follow #30547
`ellipsis` / `white-space` shouldn't be put on the general dropdown components.
Diffstat (limited to 'web_src/js/features')
-rw-r--r-- | web_src/js/features/repo-issue.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/features/repo-issue.js b/web_src/js/features/repo-issue.js index d10d4dab8d..8ee681aedc 100644 --- a/web_src/js/features/repo-issue.js +++ b/web_src/js/features/repo-issue.js @@ -124,8 +124,8 @@ export function initRepoIssueSidebarList() { return; } filteredResponse.results.push({ - name: `#${issue.number} ${htmlEscape(issue.title) - }<div class="text small gt-word-break">${htmlEscape(issue.repository.full_name)}</div>`, + name: `<div class="gt-ellipsis">#${issue.number} ${htmlEscape(issue.title)}</div> +<div class="text small gt-word-break">${htmlEscape(issue.repository.full_name)}</div>`, value: issue.id, }); }); |