mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
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:
@@ -28,6 +28,12 @@
|
||||
word-wrap: break-word !important;
|
||||
}
|
||||
|
||||
.ellipsis {
|
||||
overflow: hidden !important;
|
||||
white-space: nowrap !important;
|
||||
text-overflow: ellipsis !important;
|
||||
}
|
||||
|
||||
.full-screen-width { width: 100vw !important; }
|
||||
.full-screen-height { height: 100vh !important; }
|
||||
|
||||
|
Reference in New Issue
Block a user