Fix activity css conflit with semantic ui (#2758)

pull/2757/head
Lauris BH 7 years ago committed by Andrey Nering
parent 619b9b5547
commit 0e9e48bd5c
  1. 2
      public/css/index.css
  2. 2
      public/less/_repository.less
  3. 4
      templates/repo/activity.tmpl

File diff suppressed because one or more lines are too long

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

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

Loading…
Cancel
Save