Skip to content

Commit b067474

Browse files
committed
improves the display and usability of the release attachments area
1 parent 9854df3 commit b067474

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/repo/release/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
{{end}}
9393
{{range $att := $release.Attachments}}
9494
<li class="item">
95-
<a target="_blank" class="tw-flex-grow-[2] gt-ellipsis" rel="nofollow" download href="{{$att.DownloadURL}}">
95+
<a target="_blank" class="tw-flex-1 gt-ellipsis" rel="nofollow" download href="{{$att.DownloadURL}}">
9696
<strong class="flex-text-inline">{{svg "octicon-package" 16 "download-icon"}}<span class="gt-ellipsis">{{$att.Name}}</span></strong>
9797
</a>
9898
<div class="attachment-right-info flex-text-inline">

web_src/css/repo/release-tag.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
}
7272

7373
#release-list .release-entry .attachment-list .attachment-right-info {
74-
flex-grow: 1;
74+
flex-shrink: 0;
7575
min-width: 300px;
7676
}
7777

0 commit comments

Comments
 (0)