summaryrefslogtreecommitdiffstats
path: root/templates/repo/wiki
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-08-08 01:15:11 +0200
committerGitHub <noreply@github.com>2022-08-08 02:15:11 +0300
commitabdebd2641e162791144fbd57acf480b4640baa8 (patch)
tree82554b58344e66a749957ee52196a99bb1827e45 /templates/repo/wiki
parentbe824890e4abac05526248fe8aed8eca6aceb1da (diff)
downloadgitea-abdebd2641e162791144fbd57acf480b4640baa8.tar.gz
gitea-abdebd2641e162791144fbd57acf480b4640baa8.zip
Rework repo buttons (#20602)
* Rework repo buttons - Replace "New PR" and "Go to File" button with Icon Button - Move all "Add File" actions into a dropdown button - Remove most custom styling of clone buttons - Margin and wiki tweaks Buttons are now all equal height, mobile layout wraps gracefully. Fixes: https://github.com/go-gitea/gitea/issues/13671 Replaces: https://github.com/go-gitea/gitea/pull/20375 Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates/repo/wiki')
-rw-r--r--templates/repo/wiki/view.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl
index 21affddc62..d641c25cf0 100644
--- a/templates/repo/wiki/view.tmpl
+++ b/templates/repo/wiki/view.tmpl
@@ -3,8 +3,8 @@
{{template "repo/header" .}}
{{ $title := .title}}
<div class="ui container">
- <div class="ui stackable secondary menu mobile--margin-between-items mobile--no-negative-margins no-vertical-tabs">
- <div class="fitted item">
+ <div class="repo-button-row df ac sb fw">
+ <div class="df ac">
<div class="choose page">
<div class="ui floating filter dropdown" data-no-results="{{.locale.Tr "repo.pulls.no_results"}}">
<div class="ui basic small button">
@@ -28,7 +28,7 @@
</div>
</div>
</div>
- <div class="right fitted item">
+ <div class="df ac">
<div class="ui action small input" id="clone-panel">
{{template "repo/clone_buttons" .}}
{{template "repo/clone_script" .}}