Mercurial > hg
comparison mercurial/templates/paper/filerevision.tmpl @ 26245:d53212d70893
hgweb: replace .sourcelast with .bottomline that does the same
In paper and Coal, basically, div.sourcelast was only used to make a 1px border
on the bottom of file source view (and only there). It's better to use
bottomline class, that also exists for the same purpose (visually), but is used
more widely and works without needing an empty <div>.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 14 Sep 2015 18:41:09 +0800 |
parents | 63be46407a50 |
children | 04ec317b8128 |
comparison
equal
deleted
inserted
replaced
26244:399e970e35c8 | 26245:d53212d70893 |
---|---|
69 </table> | 69 </table> |
70 | 70 |
71 <div class="overflow"> | 71 <div class="overflow"> |
72 <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div> | 72 <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div> |
73 <div class="sourcefirst"> line source</div> | 73 <div class="sourcefirst"> line source</div> |
74 <pre class="sourcelines stripes4 wrap">{text%fileline}</pre> | 74 <pre class="sourcelines stripes4 wrap bottomline">{text%fileline}</pre> |
75 <div class="sourcelast"></div> | |
76 </div> | 75 </div> |
77 </div> | 76 </div> |
78 </div> | 77 </div> |
79 | 78 |
80 {footer} | 79 {footer} |