CSS table fixes (#13692)

* CSS table fixes

Override the right fomantic selectors.

Fixes: https://github.com/go-gitea/gitea/issues/13690

* use flexbox
This commit is contained in:
silverwind 2020-11-24 20:27:10 +01:00 committed by GitHub
parent 24330f71b6
commit 00ec651270
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 22 deletions

View file

@ -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}}