Browse Source

Adjust chain cells so they're more equal.

pull/24/head
Ben Kurtovic 12 years ago
parent
commit
81039a6af7
2 changed files with 7 additions and 2 deletions
  1. +2
    -2
      pages/copyvios.mako
  2. +5
    -0
      static/css/copyvios.css

+ 2
- 2
pages/copyvios.mako View File

@@ -127,8 +127,8 @@
</ul> </ul>
<table id="cv-chain-table"> <table id="cv-chain-table">
<tr> <tr>
<td>Article: <div class="cv-chain-detail"><p>${highlight_delta(result.article_chain, result.delta_chain)}</p></div></td>
<td>Source: <div class="cv-chain-detail"><p>${highlight_delta(result.source_chain, result.delta_chain)}</p></div></td>
<td class="cv-chain-cell">Article: <div class="cv-chain-detail"><p>${highlight_delta(result.article_chain, result.delta_chain)}</p></div></td>
<td class="cv-chain-cell">Source: <div class="cv-chain-detail"><p>${highlight_delta(result.source_chain, result.delta_chain)}</p></div></td>
</tr> </tr>
</table> </table>
</div> </div>


+ 5
- 0
static/css/copyvios.css View File

@@ -63,6 +63,11 @@ div.cv-chain-detail {
border: 1px solid #BBB; border: 1px solid #BBB;
} }


td.cv-chain-cell {
width: 50%;
vertical-align: top;
}

span.cv-hl { span.cv-hl {
background: #FAA; background: #FAA;
} }


Loading…
Cancel
Save