Skip to content

Commit

Permalink
gitweb: Make .error style generic
Browse files Browse the repository at this point in the history
Style for td.error was introduced in 1f1ab5f (gitweb: style done with
stylesheet, 2006-06-20) to replace inline style for errors in old
multi-column "git annotate" based 'blame' view.  This view was then
since removed (replaced by "git-blame" based 'blame' view, with fewer
colums), making this style unused.

Make this style more generic by replacing td.error with .error to make
it apply to any element.  It will be used in 'blame_incremental' view
to show error messages.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jakub Narebski authored and Junio C Hamano committed Jul 25, 2009
1 parent 397f7c6 commit 0a49a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitweb/gitweb.css
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ td.sha1 {
font-family: monospace;
}

td.error {
.error {
color: red;
background-color: yellow;
}
Expand Down

0 comments on commit 0a49a79

Please sign in to comment.