diff options
author | Giteabot <teabot@gitea.io> | 2024-01-12 23:04:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-12 15:04:19 +0000 |
commit | 2a0fbe23b8b00010aeadd793207033580bac1253 (patch) | |
tree | f57156a11f3d8a3eab7d982085493d1c7514e3b9 /templates | |
parent | 95901a99c0bbbde022afd9e9297c0ee14fc7e9a4 (diff) | |
download | gitea-2a0fbe23b8b00010aeadd793207033580bac1253.tar.gz gitea-2a0fbe23b8b00010aeadd793207033580bac1253.zip |
Fix button size in "attached header right" (#28770) (#28774)
Backport #28770 by wxiaoguang
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/org/team/teams.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/lfs_file.tmpl | 6 | ||||
-rw-r--r-- | templates/repo/settings/lfs_pointers.tmpl | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/templates/org/team/teams.tmpl b/templates/org/team/teams.tmpl index 84a15e7650..ad8c33b3f5 100644 --- a/templates/org/team/teams.tmpl +++ b/templates/org/team/teams.tmpl @@ -25,7 +25,7 @@ {{else if $.IsOrganizationOwner}} <form method="post" action="{{$.OrgLink}}/teams/{{.LowerName | PathEscape}}/action/join"> {{$.CsrfTokenHtml}} - <button type="submit" class="ui primary small button" name="uid" value="{{$.SignedUser.ID}}">{{ctx.Locale.Tr "org.teams.join"}}</button> + <button type="submit" class="ui primary tiny button" name="uid" value="{{$.SignedUser.ID}}">{{ctx.Locale.Tr "org.teams.join"}}</button> </form> {{end}} </div> diff --git a/templates/repo/settings/lfs_file.tmpl b/templates/repo/settings/lfs_file.tmpl index a718eed0f1..bb2e25e86c 100644 --- a/templates/repo/settings/lfs_file.tmpl +++ b/templates/repo/settings/lfs_file.tmpl @@ -5,10 +5,10 @@ <a href="{{.LFSFilesLink}}">{{ctx.Locale.Tr "repo.settings.lfs"}}</a> / <span class="truncate sha">{{.LFSFile.Oid}}</span> <div class="ui right"> {{if .EscapeStatus.Escaped}} - <a class="ui mini basic button unescape-button gt-hidden">{{ctx.Locale.Tr "repo.unescape_control_characters"}}</a> - <a class="ui mini basic button escape-button">{{ctx.Locale.Tr "repo.escape_control_characters"}}</a> + <a class="ui tiny basic button unescape-button gt-hidden">{{ctx.Locale.Tr "repo.unescape_control_characters"}}</a> + <a class="ui tiny basic button escape-button">{{ctx.Locale.Tr "repo.escape_control_characters"}}</a> {{end}} - <a class="ui primary button" href="{{.LFSFilesLink}}/find?oid={{.LFSFile.Oid}}&size={{.LFSFile.Size}}">{{ctx.Locale.Tr "repo.settings.lfs_findcommits"}}</a> + <a class="ui primary tiny button" href="{{.LFSFilesLink}}/find?oid={{.LFSFile.Oid}}&size={{.LFSFile.Size}}">{{ctx.Locale.Tr "repo.settings.lfs_findcommits"}}</a> </div> </h4> <div class="ui attached table unstackable segment"> diff --git a/templates/repo/settings/lfs_pointers.tmpl b/templates/repo/settings/lfs_pointers.tmpl index c22f56a14f..fdc6b536c2 100644 --- a/templates/repo/settings/lfs_pointers.tmpl +++ b/templates/repo/settings/lfs_pointers.tmpl @@ -11,7 +11,7 @@ <input type="hidden" name="oid" value="{{.Oid}} {{.Size}}"> {{end}} {{end}} - <button class="ui primary button">{{ctx.Locale.Tr "repo.settings.lfs_pointers.associateAccessible" $.NumAssociatable}}</button> + <button class="ui primary tiny button">{{ctx.Locale.Tr "repo.settings.lfs_pointers.associateAccessible" $.NumAssociatable}}</button> </form> </div> {{end}} |