]> source.dussan.org Git - gitea.git/commit
Add wrapper to author to avoid long name ui problem (#23030)
authorHesterG <hestergong@gmail.com>
Thu, 23 Feb 2023 20:28:18 +0000 (04:28 +0800)
committerGitHub <noreply@github.com>
Thu, 23 Feb 2023 20:28:18 +0000 (14:28 -0600)
commit8ed6096158cb764f2259232eba0a46e6c273354c
treeaebb7ba018629acf5864a80ed7f25eb9cbf0461f
parent659cf30b6932fc2da303d15156f1ece17cd2b309
Add wrapper to author to avoid long name ui problem (#23030)

This PR is a possible solution for issue #22866. 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.
templates/repo/view_list.tmpl
web_src/less/_repository.less