File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 </div>
5959 </div>
6060 {{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 " >
6363 <a class= " ui mini compact red button remove-rel-attach" data-id= " {{.ID}}" data-uuid= " {{.UUID}}" >
6464 {{$ .i18n.Tr " remove" }}
6565 </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>
7375 </div>
7476 {{end }}
7577 {{if .IsAttachmentEnabled }}
Original file line number Diff line number Diff line change 18631863 margin-bottom : 1em ;
18641864 }
18651865 }
1866+
1867+ .wrap_remove {
1868+ height : 38px ;
1869+ }
1870+ .attachment_edit {
1871+ width : 450px !important ;
1872+ }
18661873 }
18671874 }
18681875
You can’t perform that action at this time.
0 commit comments