Fix activity css conflit with semantic ui (#2758)

release/v1.15
Lauris BH 2017-10-21 23:07:06 +03:00 committed by Andrey Nering
parent 619b9b5547
commit 0e9e48bd5c
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -1559,7 +1559,7 @@
.generate-tab-size(@n, (@i + 1)); .generate-tab-size(@n, (@i + 1));
} }
.table { .stats-table {
display: table; display: table;
width: 100%; width: 100%;
.table-cell { .table-cell {

View File

@ -29,7 +29,7 @@
{{if .Repository.UnitEnabled $.UnitTypePullRequests}} {{if .Repository.UnitEnabled $.UnitTypePullRequests}}
<div class="column"> <div class="column">
{{if gt .Activity.ActivePRCount 0}} {{if gt .Activity.ActivePRCount 0}}
<div class="table"> <div class="stats-table">
<a href="#merged-pull-requests" class="table-cell tiny background purple" style="width: {{.Activity.MergedPRPerc}}%"></a> <a href="#merged-pull-requests" class="table-cell tiny background purple" style="width: {{.Activity.MergedPRPerc}}%"></a>
<a href="#proposed-pull-requests" class="table-cell tiny background green"></a> <a href="#proposed-pull-requests" class="table-cell tiny background green"></a>
</div> </div>
@ -40,7 +40,7 @@
{{if .Repository.UnitEnabled $.UnitTypeIssues}} {{if .Repository.UnitEnabled $.UnitTypeIssues}}
<div class="column"> <div class="column">
{{if gt .Activity.ActiveIssueCount 0}} {{if gt .Activity.ActiveIssueCount 0}}
<div class="table"> <div class="stats-table">
<a href="#closed-issues" class="table-cell tiny background red" style="width: {{.Activity.ClosedIssuePerc}}%"></a> <a href="#closed-issues" class="table-cell tiny background red" style="width: {{.Activity.ClosedIssuePerc}}%"></a>
<a href="#new-issues" class="table-cell tiny background green"></a> <a href="#new-issues" class="table-cell tiny background green"></a>
</div> </div>