about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJohan Herland2010-06-18 17:56:11 +0200
committerLars Hjemli2010-06-19 12:20:09 +0200
commit47187b33be1c3de43fbed6f350ab05bc978aacd0 (patch)
tree896a454446d2b6f5e19f96a212a2069898b05606
parentMerge branch 'stable' (diff)
downloadcgit-47187b33be1c3de43fbed6f350ab05bc978aacd0.tar.gz
cgit-47187b33be1c3de43fbed6f350ab05bc978aacd0.zip
Fix style of commit-filter links in commit-subject.
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>
-rw-r--r--cgit.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/cgit.css b/cgit.css index 0cb894a..6198403 100644 --- a/cgit.css +++ b/cgit.css
@@ -525,7 +525,10 @@ a.deco {
525 border: solid 1px #770000; 525 border: solid 1px #770000;
526} 526}
527 527
528div.commit-subject a { 528div.commit-subject a.branch-deco,
529div.commit-subject a.tag-deco,
530div.commit-subject a.remote-deco,
531div.commit-subject a.deco {
529 margin-left: 1em; 532 margin-left: 1em;
530 font-size: 75%; 533 font-size: 75%;
531} 534}