Changeset - 09f58befd9f1
[Not reviewed]
default
0 1 0
Mads Kiilerich - 10 years ago 2015-08-17 01:11:39
madski@unity3d.com
comments: browser display of context around url #targets should only be used for diff comments

24d01c64c5f3 had the unintended side-effect of not only highlighting the linked
line in file view but also the spacing above it. For now, instead of changing
the markup, restrict the fancy #target offsets to comments.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/style.css
Show inline comments
 
@@ -4840,7 +4840,7 @@ table.code-difftable .unmod .code pre:be
 

	
 
/* show some context of link targets - but only works when the link target
 
   can be extended with any visual difference */
 
:target:before {
 
div.comment:target:before {
 
  display: block;
 
  height: 100px;
 
  margin: -100px 0 0;
0 comments (0 inline, 0 general)