loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request 'Fix overflow in git notes' (#6390) from JakobDev/forgejo:noteoverflow into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6390
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>

+5 -5
+5 -5
templates/repo/commit_page.tmpl
··· 263 263 </div> 264 264 {{end}} 265 265 {{if .NoteRendered}} 266 - <div class="ui top attached header segment git-notes"> 266 + <div class="ui top attached header segment git-notes tw-flex tw-gap-1 tw-flex-wrap"> 267 267 {{svg "octicon-note" 16 "tw-mr-2"}} 268 268 {{ctx.Locale.Tr "repo.diff.git-notes"}}: 269 269 {{if .NoteAuthor}} ··· 277 277 {{else}} 278 278 <strong>{{.NoteCommit.Author.Name}}</strong> 279 279 {{end}} 280 - <span class="text grey" id="note-authored-time">{{DateUtils.TimeSince .NoteCommit.Author.When}}</span> 280 + <span class="text grey tw-flex-1" id="note-authored-time">{{DateUtils.TimeSince .NoteCommit.Author.When}}</span> 281 281 {{if and ($.Permission.CanWrite $.UnitTypeCode) (not $.Repository.IsArchived) (not .IsDeleted)}} 282 - <div class="ui right"> 283 - <button id="commit-notes-edit-button" class="ui tiny primary button">{{ctx.Locale.Tr "edit"}}</button> 284 - <button class="ui tiny button red show-modal" data-modal="#delete-note-modal">{{ctx.Locale.Tr "remove"}}</button> 282 + <div class="ui tw-flex tw-items-center"> 283 + <button id="commit-notes-edit-button" class="ui tiny primary button tw-py-[6px] tw-px-[10px]">{{ctx.Locale.Tr "edit"}}</button> 284 + <button class="ui tiny button red show-modal tw-py-[6px] tw-px-[10px]" data-modal="#delete-note-modal">{{ctx.Locale.Tr "remove"}}</button> 285 285 </div> 286 286 <div class="ui small modal" id="delete-note-modal"> 287 287 <div class="header">