1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix context menu overflow & review tag margin (#9231)

* Fix context menu overflow

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add review tag CSS

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
John Olheiser
2019-12-02 17:03:30 -06:00
committed by Lauris BH
parent a00d7200b1
commit 51432ebb9c
5 changed files with 17 additions and 7 deletions

View File

@@ -113,7 +113,7 @@
</h4>
<div class="ui attached unstackable table segment">
{{if ne $file.Type 4}}
<div class="file-body file-code code-view code-diff {{if $.IsSplitStyle}}code-diff-split{{else}}code-diff-unified{{end}}">
<div class="file-body file-code code-view has-context-menu code-diff {{if $.IsSplitStyle}}code-diff-split{{else}}code-diff-unified{{end}}">
<table>
<tbody>
{{if $isImage}}

View File

@@ -11,11 +11,11 @@
<div class="ui right actions">
{{if and .Review}}
{{if eq .Review.Type 0}}
<div class="item tag pending">
<div class="item tag review pending">
{{$.root.i18n.Tr "repo.issues.review.pending"}}
</div>
{{else}}
<div class="item tag">
<div class="item tag review">
{{$.root.i18n.Tr "repo.issues.review.review"}}
</div>
{{end}}