forked from Shiloh/githaven
Fix long package version names overflowing (#28619)
Fixes #28534 --- Before: ![image](https://github.com/go-gitea/gitea/assets/50193156/b229551c-0a7d-4a99-9553-1f11b994876a) After: <img width="304" alt="image" src="https://github.com/go-gitea/gitea/assets/50193156/53d04ad0-6d5c-47e2-8a7d-30a4d5dd9959"> Should we also apply this for long filenames in Assets? It looks like this currently: <img width="285" alt="image" src="https://github.com/go-gitea/gitea/assets/50193156/e2dcbb2e-30d5-4e35-b304-6274ef60bda7"> --------- Co-authored-by: Mihir <mihir.joshi@senpiper.com>
This commit is contained in:
parent
ce55a74374
commit
3d474110c1
@ -91,7 +91,7 @@
|
|||||||
<div class="ui relaxed list">
|
<div class="ui relaxed list">
|
||||||
{{range .LatestVersions}}
|
{{range .LatestVersions}}
|
||||||
<div class="item gt-df">
|
<div class="item gt-df">
|
||||||
<a class="gt-f1" href="{{$.PackageDescriptor.PackageWebLink}}/{{PathEscape .LowerVersion}}">{{.Version}}</a>
|
<a class="gt-f1 gt-ellipsis" title="{{.Version}}" href="{{$.PackageDescriptor.PackageWebLink}}/{{PathEscape .LowerVersion}}">{{.Version}}</a>
|
||||||
<span class="text small">{{DateTime "short" .CreatedUnix}}</span>
|
<span class="text small">{{DateTime "short" .CreatedUnix}}</span>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
Loading…
Reference in New Issue
Block a user