aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/less/features
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-12-11 06:12:18 -0800
committerGitHub <noreply@github.com>2021-12-11 16:12:18 +0200
commit379a5241c69cbedd8cdba04f57f3ee8c50083957 (patch)
treec059051cb70278e4f41f773996d198b40dcbac28 /web_src/less/features
parentf550e356d6cfe84b2891776d778531afa92ef902 (diff)
downloadgitea-379a5241c69cbedd8cdba04f57f3ee8c50083957.tar.gz
gitea-379a5241c69cbedd8cdba04f57f3ee8c50083957.zip
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>
Diffstat (limited to 'web_src/less/features')
-rw-r--r--web_src/less/features/gitgraph.less1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/less/features/gitgraph.less b/web_src/less/features/gitgraph.less
index f664a31d57..25dcc02159 100644
--- a/web_src/less/features/gitgraph.less
+++ b/web_src/less/features/gitgraph.less
@@ -137,6 +137,7 @@
.author .ui.avatar.image {
width: auto;
height: 18px;
+ max-width: none;
}
}