Fix overflow in commit graph (#17947)

* Fix overflow in commit graph

Limit commit message to 50% width. This is rather crude but should work
for common use cases with not too-long author names.

Fixes: https://github.com/go-gitea/gitea/issues/17944

* Make it work with dynamic width

* use span

* use explicit none

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
silverwindandLunny Xiao authored and GitHub committed 2021-12-11 16:12:18 +02:00
1 parent f550e356d6
commit 379a5241c6
3 files changed
+14 -5

No files matched your search

+1
View File
@@ -137,6 +137,7 @@
.author .ui.avatar.image {
width: auto;
height: 18px;
max-width: none;
}
}