# HG changeset patch # User dellsystem # Date 1350246254 14400 # Node ID 6573617409e294c00ce5d2afa57b78e46b766f8f # Parent ee999b9f33f5129e5c103c9302cc6dc27115c1ef Add top margin to #diff on snippet view page (To align it with the sidebar) diff -r ee999b9f33f5 -r 6573617409e2 static/css/agora.css --- a/static/css/agora.css Sun Oct 14 16:12:55 2012 -0400 +++ b/static/css/agora.css Sun Oct 14 16:24:14 2012 -0400 @@ -41,7 +41,7 @@ hr{border:0;border-top:1px solid #aaaaaa;margin:5px 0;} #snippet-history{overflow-x:auto;}#snippet-history ul{white-space:nowrap;padding:0;list-style-type:none;} #snippet-history >ul{margin-left:0;} -#diff{display:none;border:1px solid #e6e6e6;padding:10px;background:#fbfbfb;}#diff .code{white-space:pre-wrap;} +#diff{margin-top:10px;display:none;border:1px solid #e6e6e6;padding:10px;background:#fbfbfb;}#diff .code{white-space:pre-wrap;} #diff .gi{background:#DFD;} #diff .gu{color:#aaaaaa;} #diff .gd{background:#FDD;} diff -r ee999b9f33f5 -r 6573617409e2 static/css/agora.less --- a/static/css/agora.less Sun Oct 14 16:12:55 2012 -0400 +++ b/static/css/agora.less Sun Oct 14 16:24:14 2012 -0400 @@ -246,6 +246,7 @@ } #diff { + margin-top: 10px; .hidden; border: 1px solid @lightGrey; padding: 10px;