File tree Expand file tree Collapse file tree 2 files changed +18
-9
lines changed Expand file tree Collapse file tree 2 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 58
58
</div>
59
59
</div>
60
60
{{range .attachments}}
61
- <div class="field middle aligned " id="attachment-{{.ID}}">
62
- <span class="ui text middle aligned right ">
61
+ <div class="field" id="attachment-{{.ID}}">
62
+ <div class="ui right df ac wrap_remove ">
63
63
<a class="ui mini compact red button remove-rel-attach" data-id="{{.ID}}" data-uuid="{{.UUID}}">
64
64
{{$.i18n.Tr "remove"}}
65
65
</a>
66
- </span>
67
- <input name="attachment-edit-{{.UUID}}" style="width:450px" required value="{{.Name}}"/>
68
- <input name="attachment-del-{{.UUID}}" type="hidden" value="false"/>
69
- <span class="ui text grey">{{.Size | FileSize}}</span>
70
- <span class="poping up" data-content="{{$.i18n.Tr "repo.release.download_count" (.DownloadCount | PrettyNumber)}}">
71
- {{svg "octicon-info"}}
72
- </span>
66
+ </div>
67
+ <div class="df ac">
68
+ <input name="attachment-edit-{{.UUID}}" class="mr-3 attachment_edit" required value="{{.Name}}"/>
69
+ <input name="attachment-del-{{.UUID}}" type="hidden" value="false"/>
70
+ <span class="ui text grey mr-3">{{.Size | FileSize}}</span>
71
+ <span class="poping up" data-content="{{$.i18n.Tr "repo.release.download_count" (.DownloadCount | PrettyNumber)}}">
72
+ {{svg "octicon-info"}}
73
+ </span>
74
+ </div>
73
75
</div>
74
76
{{end}}
75
77
{{if .IsAttachmentEnabled}}
Original file line number Diff line number Diff line change 1863
1863
margin-bottom : 1em ;
1864
1864
}
1865
1865
}
1866
+
1867
+ .wrap_remove {
1868
+ height : 38px ;
1869
+ }
1870
+ .attachment_edit {
1871
+ width : 450px !important ;
1872
+ }
1866
1873
}
1867
1874
}
1868
1875
You can’t perform that action at this time.
0 commit comments