Browse Source

Fix activity css conflit with semantic ui (#2758)

for-closed-social
Lauris BH 7 years ago
committed by Andrey Nering
parent
commit
0e9e48bd5c
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      public/css/index.css
  2. +1
    -1
      public/less/_repository.less
  3. +2
    -2
      templates/repo/activity.tmpl

+ 1
- 1
public/css/index.css
File diff suppressed because it is too large
View File


+ 1
- 1
public/less/_repository.less View File

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

+ 2
- 2
templates/repo/activity.tmpl View File

@ -29,7 +29,7 @@
{{if .Repository.UnitEnabled $.UnitTypePullRequests}}
<div class="column">
{{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="#proposed-pull-requests" class="table-cell tiny background green"></a>
</div>
@ -40,7 +40,7 @@
{{if .Repository.UnitEnabled $.UnitTypeIssues}}
<div class="column">
{{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="#new-issues" class="table-cell tiny background green"></a>
</div>

Loading…
Cancel
Save