aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/wiki
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-06-15 23:12:08 +0800
committerGitHub <noreply@github.com>2023-06-15 15:12:08 +0000
commit6db66d8ca4faeb03b958728923ce27bdabdae7a5 (patch)
tree03f53d4b21b4bc74c3f964ae6cfcee61e580ef17 /templates/repo/wiki
parent14b802e7ad18704d7ee9471bddb47c74a9ba9235 (diff)
downloadgitea-6db66d8ca4faeb03b958728923ce27bdabdae7a5.tar.gz
gitea-6db66d8ca4faeb03b958728923ce27bdabdae7a5.zip
Fix some UI alignments (#25277)
Fixes: https://github.com/go-gitea/gitea/issues/25282 Fix the problems: 1. The `repo-button-row` had various patches before, this PR makes it consistent 2. The "Add File" has wrong CSS class "icon", remove it 3. The "Add File" padding was overridden by "!important", fix it by `.repo-button-row .button.dropdown` with comment 4. The selector `.ui.segments ~ .ui.top.attached.header` is incorrect, it should use `+`
Diffstat (limited to 'templates/repo/wiki')
-rw-r--r--templates/repo/wiki/view.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl
index 370109caa4..ee9a3b2142 100644
--- a/templates/repo/wiki/view.tmpl
+++ b/templates/repo/wiki/view.tmpl
@@ -3,7 +3,7 @@
{{template "repo/header" .}}
{{$title := .title}}
<div class="ui container">
- <div class="repo-button-row gt-df gt-ac gt-sb gt-fw">
+ <div class="repo-button-row">
<div class="gt-df gt-ac">
<div class="ui floating filter dropdown" data-no-results="{{.locale.Tr "repo.pulls.no_results"}}">
<div class="ui basic small button">