MercurialWebTheme

Changeset

40:d0aaf815a478
2011-10-10 Paul Boddie raw files shortlog changelog graph Fixed filediff presentation by preventing the diff region from being hidden as such regions are in the changeset page.
themes/mercurialweb/filediff.tmpl (file) themes/mercurialweb/static/style-mercurialweb.css (file)
     1.1 --- a/themes/mercurialweb/filediff.tmpl	Sun Oct 02 16:45:50 2011 +0200
     1.2 +++ b/themes/mercurialweb/filediff.tmpl	Mon Oct 10 22:48:30 2011 +0200
     1.3 @@ -49,6 +49,6 @@
     1.4    </tbody>
     1.5  </table>
     1.6  
     1.7 -<div class="diff">{diff}</div>
     1.8 +<div class="diff specific">{diff}</div>
     1.9  
    1.10  {footer}
     2.1 --- a/themes/mercurialweb/static/style-mercurialweb.css	Sun Oct 02 16:45:50 2011 +0200
     2.2 +++ b/themes/mercurialweb/static/style-mercurialweb.css	Mon Oct 10 22:48:30 2011 +0200
     2.3 @@ -449,6 +449,10 @@
     2.4      content: '';
     2.5  }
     2.6  
     2.7 +.diff.specific div {
     2.8 +    display: block !important;
     2.9 +}
    2.10 +
    2.11  .diff div:not(:target) {
    2.12      display: none;
    2.13  }