Skip to content

Commit

Permalink
fix differ width (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
RouxRC committed May 5, 2017
1 parent ed5dcfc commit c26c29f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions web/css/webmonitor.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,8 @@ h1 {
overflow: hidden;
border-bottom: 1px solid black;
}
.mergely {
.differ {
height: 248px;
width: 99%;
}
.mergely-canvas {
background-color: #eafaff;
Expand Down
1 change: 1 addition & 0 deletions web/js/webmonitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
$("#selecter_large, #screenshots").width((ns.versions.length) * (imgW + 4) + 1);
$("#versions p, #screenshots img").width(imgW);
$(".copy iframe, .orig iframe").width((winW - 3) / 2);
$(".differ").width(winW - 17);
};

$(document).ready(function(){
Expand Down
4 changes: 2 additions & 2 deletions web/templates/monitor.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ <h1>
<input type="radio" name="curwin" value="orig" />
<p class="version"><a target="_blank"></a></p>
</div>
<div id="difftext"><div class="mergely"><div id="mergely-text"></div></div></div>
<div id="difflinks"><div class="mergely"><div id="mergely-links"></div></div></div>
<div id="difftext"><div class="differ"><div id="mergely-text"></div></div></div>
<div id="difflinks"><div class="differ"><div id="mergely-links"></div></div></div>
<div class="copy">
<iframe sandbox="allow-same-origin allow-scripts"></iframe>
</div>
Expand Down

0 comments on commit c26c29f

Please sign in to comment.