Fix milestone/project text overflow in issue sidebar#36741
Merged
silverwind merged 4 commits intogo-gitea:mainfrom Feb 26, 2026
Merged
Fix milestone/project text overflow in issue sidebar#36741silverwind merged 4 commits intogo-gitea:mainfrom
silverwind merged 4 commits intogo-gitea:mainfrom
Conversation
Wrap milestone and project names in ellipsis spans in the issue/PR sidebar dropdown items and selected rows, and use flex-items-menu in the scrolling menus so long unbroken strings truncate instead of overflowing. Refs go-gitea#36732
Member
|
There should be tips to display the full text. |
Contributor
Author
lunny
approved these changes
Feb 25, 2026
Member
Contributor
Author
Member
|
Check how long project names with spaces currently render in that dropdown. If they do ellipsis, just do the same, otherwise wrap. |
Contributor
Author
Currently |
Member
|
No need to backport imho, focus on 1.26 instead. |
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Feb 27, 2026
* giteaofficial/main: Filter out untracked files from spellchecking (go-gitea#36756) Fix CSS stacking context issue in actions log (go-gitea#36749) Fix milestone/project text overflow in issue sidebar (go-gitea#36741) Update tool dependencies and fix new lint issues (go-gitea#36702) Instance-wide (global) info banner and maintenance mode (go-gitea#36571) Add created_by filter to SearchIssues (go-gitea#36670) Inline and lazy-load EasyMDE CSS, fix border colors (go-gitea#36714)
silverwind
added a commit
to silverwind/gitea
that referenced
this pull request
Feb 27, 2026
* origin/main: Move Fomantic dropdown CSS to custom module (go-gitea#36530) Use "Enable Gravatar" but not "Disable" (go-gitea#36771) feat: add branch_count to repository API (go-gitea#35351) (go-gitea#36743) Deprecate RenderWithErr (go-gitea#36769) Lazy-load some Vue components, fix heatmap chunk loading on every page (go-gitea#36719) Filter out untracked files from spellchecking (go-gitea#36756) Fix CSS stacking context issue in actions log (go-gitea#36749) Fix milestone/project text overflow in issue sidebar (go-gitea#36741) Update tool dependencies and fix new lint issues (go-gitea#36702) Instance-wide (global) info banner and maintenance mode (go-gitea#36571) Add created_by filter to SearchIssues (go-gitea#36670) Inline and lazy-load EasyMDE CSS, fix border colors (go-gitea#36714) # Conflicts: # templates/repo/issue/view_content/pull_merge_box.tmpl # web_src/js/features/repo-issue-pull.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





When milestone or project names contain long unbroken strings, they overflow the sidebar in the issue/PR view. This adds text truncation with ellipsis to both the dropdown menu items and the sidebar display, using the same
flex-items-menu+gt-ellipsispattern already used by other sidebar components (e.g. reviewer list).Changes:
flex-items-menuclass to the scrolling menu<div>to enable flex layout on items<span class="gt-ellipsis tw-flex-1">for truncationtw-shrink-0to SVG icons to prevent them from shrinkingBefore:

After:

Fixes #36732