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
 
@@ -4831,25 +4831,25 @@ table.code-difftable .unmod .code pre:be
 
    font-size: 14px;
 
    color: #ffffff;
 
    font-family: "kallithea";
 
    content: '\1f5ea';
 
}
 

	
 
.add-bubble div:hover {
 
    transform: scale(1.2, 1.2);
 
}
 

	
 
/* 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;
 
  content: "";
 
}
 

	
 
div.comment:target>.comment-wrapp {
 
    border: solid 2px #ee0 !important;
 
}
 

	
 
.lineno:target a {
 
    border: solid 2px #ee0 !important;
0 comments (0 inline, 0 general)