UI: Fix overflow issues in repo (#7190)
- Fix layout overflow in repo file list. - Fix invisible status icon in file view and commit list. In file view, the icon was moved to the left because I could not figure out a proper fix because of HTML tables. - Added title attribute to commit messages. - Fixed two CSS linter warnings in existing CSS. - Fixed CI variable check in 'make css'. Fixes: https://github.com/go-gitea/gitea/issues/7180tokarchuk/v1.17
parent
2f39fc7bb6
commit
9ce4d89e99
@ -1,15 +1,15 @@ |
|||||||
{{if eq .State "pending"}} |
{{if eq .State "pending"}} |
||||||
<a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status circle icon yellow"></i></a> |
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status circle icon yellow"></i></a> |
||||||
{{end}} |
{{end}} |
||||||
{{if eq .State "success"}} |
{{if eq .State "success"}} |
||||||
<a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status check icon green"></i></a> |
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status check icon green"></i></a> |
||||||
{{end}} |
{{end}} |
||||||
{{if eq .State "error"}} |
{{if eq .State "error"}} |
||||||
<a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning icon red"></i></a> |
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning icon red"></i></a> |
||||||
{{end}} |
{{end}} |
||||||
{{if eq .State "failure"}} |
{{if eq .State "failure"}} |
||||||
<a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status remove icon red"></i></a> |
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status remove icon red"></i></a> |
||||||
{{end}} |
{{end}} |
||||||
{{if eq .State "warning"}} |
{{if eq .State "warning"}} |
||||||
<a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning sign icon yellow"></i></a> |
<a class="commit-status-link" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer"><i class="commit-status warning sign icon yellow"></i></a> |
||||||
{{end}} |
{{end}} |
||||||
|
Loading…
Reference in new issue