0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-06 11:42:38 -05:00
forgejo/templates/repo
Yarden Shoham ddf61373f6
Add wrapper to author to avoid long name ui problem () ()
Backport 

This PR is a possible solution for issue . Main change is to add a
`author-wrapper` class around author name, like the wrapper added to
message. The `max-width` is set to 200px on PC, and 100px on mobile
device for now. Which will work like below:

<img width="1183" alt="2023-02-21 11 57 53"
src="https://user-images.githubusercontent.com/17645053/220244146-3d47c512-33b6-4ed8-938e-de0a8bc26ffb.png">

<img width="417" alt="2023-02-21 11 58 43"
src="https://user-images.githubusercontent.com/17645053/220244154-1ea0476b-9d1c-473a-9917-d3216860f9a9.png">

And `title` is added to the wrapper like it did in message wrapper. So
the full author name will show on hover.

Co-authored-by: HesterG <hestergong@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-24 10:45:18 +08:00
..
actions
branch add margin top to the top of branches () 2023-02-21 13:03:44 +08:00
cite
diff Improve PR Review Box UI () 2023-02-21 21:36:53 +08:00
editor Fix commit name in Apply Patch page () () 2023-02-24 08:47:35 +08:00
find Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
graph
issue Improve accessibility for issue comments () () 2023-02-23 16:32:15 +08:00
migrate Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
projects
pulls
release
settings Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
wiki Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
activity.tmpl
blame.tmpl Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
branch_dropdown.tmpl Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
clone_buttons.tmpl
clone_script.tmpl
commit_page.tmpl Use gt-relative class instead of the ambiguous gt-pr class () 2023-02-20 19:16:56 -05:00
commit_status.tmpl
commit_statuses.tmpl Fix hidden commit status on multiple checks () 2023-02-20 16:43:04 +08:00
commits.tmpl
commits_list.tmpl Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
commits_list_small.tmpl Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
commits_table.tmpl
create.tmpl Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
create_helper.tmpl
empty.tmpl
file_info.tmpl
forks.tmpl
graph.tmpl Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
header.tmpl
home.tmpl Improve PR Review Box UI () 2023-02-21 21:36:53 +08:00
icon.tmpl
packages.tmpl
search.tmpl
shabox_badge.tmpl
sub_menu.tmpl Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none () 2023-02-19 12:06:14 +08:00
view_list.tmpl Add wrapper to author to avoid long name ui problem () () 2023-02-24 10:45:18 +08:00
watchers.tmpl