diff options
Diffstat (limited to 'templates/repo/view_file.tmpl')
-rw-r--r-- | templates/repo/view_file.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index d8ef710400..ebe82ff161 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -25,8 +25,8 @@ </div> {{end}} - <h4 class="file-header ui top attached header tw-flex tw-content-center tw-justify-between tw-flex-wrap"> - <div class="file-header-left tw-flex tw-content-center gt-py-3 gt-pr-4"> + <h4 class="file-header ui top attached header tw-flex tw-items-center tw-justify-between tw-flex-wrap"> + <div class="file-header-left tw-flex tw-items-center gt-py-3 gt-pr-4"> {{if .ReadmeInList}} {{svg "octicon-book" 16 "gt-mr-3"}} <strong><a class="default-link muted" href="#readme">{{.FileName}}</a></strong> @@ -34,7 +34,7 @@ {{template "repo/file_info" .}} {{end}} </div> - <div class="file-header-right file-actions tw-flex tw-content-center tw-flex-wrap"> + <div class="file-header-right file-actions tw-flex tw-items-center tw-flex-wrap"> {{if .HasSourceRenderedToggle}} <div class="ui compact icon buttons"> <a href="?display=source" class="ui mini basic button {{if .IsDisplayingSource}}active{{end}}" data-tooltip-content="{{ctx.Locale.Tr "repo.file_view_source"}}">{{svg "octicon-code" 15}}</a> |