You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hester Gong d42015e6eb
Fix long name ui issues and label ui issue (#23541)
This PR fixes some ui problems as mentioned in the two issues below.
1. Long file path has no word break

## Before
<img width="1357" alt="截屏2023-03-17 17 49 43"
src="https://user-images.githubusercontent.com/17645053/225873491-27c7bf9a-d5d5-4065-9e4a-ff228e935abf.png">

## After
<img width="1248" alt="截屏2023-03-17 17 51 22"
src="https://user-images.githubusercontent.com/17645053/225873562-93b87af7-9c83-43f8-aa0d-36a9174d25ac.png">
on mobile
<img width="408" alt="截屏2023-03-17 17 51 15"
src="https://user-images.githubusercontent.com/17645053/225873554-1b8c8999-1dfc-4251-a7fc-20ecd3444cb0.png">


2. Texts in labels  
## Before
<img width="1219" alt="截屏2023-03-17 17 49 24"
src="https://user-images.githubusercontent.com/17645053/225873369-812b1b52-c104-4e32-988f-c3e55ad2f844.png">

## After
<img width="1259" alt="截屏2023-03-17 17 51 31"
src="https://user-images.githubusercontent.com/17645053/225873317-9717fd2c-e9e1-4a00-a27d-6bdc5933c3ca.png">
with two labels
<img width="1258" alt="截屏2023-03-17 17 51 53"
src="https://user-images.githubusercontent.com/17645053/225873323-13198192-71de-472d-8e78-6fd86ddba3d9.png">
In explore and star pages
<img width="896" alt="截屏2023-03-17 18 25 00"
src="https://user-images.githubusercontent.com/17645053/225878962-9e26e3aa-cff0-451c-9133-19f4ad1507a4.png">

<img width="913" alt="截屏2023-03-17 18 25 09"
src="https://user-images.githubusercontent.com/17645053/225878967-6adaa414-136e-43c2-87d0-7e46a0da112e.png">

3. Long name repository on creating new fork page
## Before
<img width="919" alt="截屏2023-03-17 17 50 01"
src="https://user-images.githubusercontent.com/17645053/225873723-5c4ea137-3b51-4074-a458-ef442e330ddf.png">

## After
<img width="907" alt="截屏2023-03-17 17 50 37"
src="https://user-images.githubusercontent.com/17645053/225873772-fc4a52c3-49c6-4ca6-903d-a13707f2a98b.png">

<img width="383" alt="截屏2023-03-17 17 50 48"
src="https://user-images.githubusercontent.com/17645053/225873779-6de1dfde-5c05-4ae9-89e1-85c25b3a1682.png">

Closes #23535
Closes #23534
1 year ago
..
actions Add workflow error notification in ui (#23404) 1 year ago
branch Make branches list page operations remember current page (#23420) 1 year ago
cite Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
diff Fix diff detail buttons wrapping, use tippy for review box (#23271) 1 year ago
editor Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
find Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
graph Add context cache as a request level cache (#22294) 1 year ago
issue Fix aria.js bugs: incorrect role element problem, mobile focus problem, tippy problem (#23450) 1 year ago
migrate Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
projects Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
pulls Fix long name ui issues and label ui issue (#23541) 1 year ago
release Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
settings Allow both fullname and username search when `DEFAULT_SHOW_FULL_NAME` is true (#23463) 1 year ago
wiki Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
activity.tmpl Add context when rendering labels or emojis (#23281) 1 year ago
blame.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
branch_dropdown.tmpl Refactor branch/tag selector to Vue SFC (#23421) 1 year ago
clone_buttons.tmpl Move helpers to be prefixed with `gt-` (#22879) 1 year ago
clone_script.tmpl Make clone URL use current page's host (#22808) 1 year ago
commit_page.tmpl Use octicon-verified for gpg signatures (#23529) 1 year ago
commit_status.tmpl Fix missing commit status in PR which from forked repo (#23351) 1 year ago
commit_statuses.tmpl Fix hidden commit status on multiple checks (#22889) 1 year ago
commits.tmpl Move helpers to be prefixed with `gt-` (#22879) 1 year ago
commits_list.tmpl Add context when rendering labels or emojis (#23281) 1 year ago
commits_list_small.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
commits_table.tmpl Move helpers to be prefixed with `gt-` (#22879) 1 year ago
create.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
create_helper.tmpl Add templates to customize text when creating and migrating repositories 1 year ago
empty.tmpl Add main landmark to templates and adjust titles (#22670) 1 year ago
file_info.tmpl Move helpers to be prefixed with `gt-` (#22879) 1 year ago
forks.tmpl Add context cache as a request level cache (#22294) 1 year ago
graph.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
header.tmpl Move helpers to be prefixed with `gt-` (#22879) 1 year ago
home.tmpl Fix and move "Use this template" button (#23398) 1 year ago
icon.tmpl Move helpers to be prefixed with `gt-` (#22879) 1 year ago
packages.tmpl Add main landmark to templates and adjust titles (#22670) 1 year ago
search.tmpl Fix 'View File' button in code search (#23478) 1 year ago
search_name.tmpl Allow both fullname and username search when `DEFAULT_SHOW_FULL_NAME` is true (#23463) 1 year ago
shabox_badge.tmpl Fix shabox regression (#22924) 1 year ago
sub_menu.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
unicode_escape_prompt.tmpl Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
upload.tmpl Refactor `i18n` to `locale` (#20153) 2 years ago
user_cards.tmpl Add context cache as a request level cache (#22294) 1 year ago
view_file.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 1 year ago
view_list.tmpl Add wrapper to author to avoid long name ui problem (#23030) 1 year ago
watchers.tmpl Add main landmark to templates and adjust titles (#22670) 1 year ago