diff options
author | silverwind <me@silverwind.io> | 2020-11-24 20:27:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 21:27:10 +0200 |
commit | 00ec651270aca19cba9a82fa48e6f7137efdfe1f (patch) | |
tree | 149f2088de7ee0dacc96418150da8fed37d847b3 /templates/repo/wiki | |
parent | 24330f71b6ee874debec273952579c7c07d61140 (diff) | |
download | gitea-00ec651270aca19cba9a82fa48e6f7137efdfe1f.tar.gz gitea-00ec651270aca19cba9a82fa48e6f7137efdfe1f.zip |
CSS table fixes (#13692)
* CSS table fixes
Override the right fomantic selectors.
Fixes: https://github.com/go-gitea/gitea/issues/13690
* use flexbox
Diffstat (limited to 'templates/repo/wiki')
-rw-r--r-- | templates/repo/wiki/pages.tmpl | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/templates/repo/wiki/pages.tmpl b/templates/repo/wiki/pages.tmpl index 2c131e0b0f..c3fb412c57 100644 --- a/templates/repo/wiki/pages.tmpl +++ b/templates/repo/wiki/pages.tmpl @@ -2,14 +2,16 @@ <div class="repository wiki pages"> {{template "repo/header" .}} <div class="ui container"> - <div class="ui header"> - {{.i18n.Tr "repo.wiki.pages"}} - {{if and .CanWriteWiki (not .IsRepositoryMirror)}} - <div class="ui right"> - <a class="ui green small button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.new_page_button"}}</a> + <h2 class="ui header df ac sb"> + <div> + {{.i18n.Tr "repo.wiki.pages"}} </div> - {{end}} - </div> + <div> + {{if and .CanWriteWiki (not .IsRepositoryMirror)}} + <a class="ui green small button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.new_page_button"}}</a> + {{end}} + </div> + </h2> <table class="ui table"> <tbody> {{range .Pages}} |