]> git.cameronkatri.com Git - cgit.git/commitdiff
Fix style of commit-filter links in commit-subject.
authorJohan Herland <johan@herland.net>
Fri, 18 Jun 2010 15:56:11 +0000 (17:56 +0200)
committerLars Hjemli <hjemli@gmail.com>
Sat, 19 Jun 2010 10:20:09 +0000 (12:20 +0200)
When using the commit-filter functionality to add e.g. bug tracker links to
commit messages, the style of those links is mangled by a CSS directive that
is meant to only apply to decorations that are listed on the commit-subject
line.

Fix this directive to only apply to the decorations.

Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.css

index 0cb894a6f20950597d0a53cc8c7a2f727ea9e70c..6198403c5c5c6ff26a6bd21b69c2286f2c21994a 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -525,7 +525,10 @@ a.deco {
        border: solid 1px #770000;
 }
 
-div.commit-subject a {
+div.commit-subject a.branch-deco,
+div.commit-subject a.tag-deco,
+div.commit-subject a.remote-deco,
+div.commit-subject a.deco {
        margin-left: 1em;
        font-size: 75%;
 }