[PATCH 1 of 1] hgweb: side-by-side comparison functionality
Wujek Srujek
wujek.srujek at googlemail.com
Mon Jun 18 16:48:55 UTC 2012
Ok, so I fixed it (by adding the 'overflow' to the 'comparison' class in
the css file) and also fixed gitweb analogically. Thanks for the tip.
wujek
On Mon, Jun 18, 2012 at 5:34 PM, Patrick Mézard <patrick at mezard.eu> wrote:
> Le 18/06/12 16:55, Wujek Srujek a écrit :
> > diff --git a/mercurial/templates/monoblue/filecomparison.tmpl
> > b/mercurial/templates/monoblue/filecomparison.tmpl
> > --- a/mercurial/templates/monoblue/filecomparison.tmpl
> > +++ b/mercurial/templates/monoblue/filecomparison.tmpl
> > @@ -57,7 +57,7 @@
> > <span class="legendinfo replace">replaced</span>
> > </div>
> >
> > - <div class="comparison">
> > + <div class="comparison" style="overflow: auto;">
> > {comparison}
> > </div>
> >
> > diff --git a/mercurial/templates/static/style-monoblue.css
> > b/mercurial/templates/static/style-monoblue.css
> > --- a/mercurial/templates/static/style-monoblue.css
> > +++ b/mercurial/templates/static/style-monoblue.css
> > @@ -29,7 +29,6 @@
> > background: #FFFFFF;
> > position: relative;
> > color: #666;
> > - overflow: auto;
> > }
> >
> > div.page-header {
>
> Looks better to me, the scrollbar only appears when necessary.
>
> --
> Patrick Mézard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20120618/d32c77b7/attachment-0002.html>
More information about the Mercurial-devel
mailing list