adjusting id/css for object-commit
authorCillian de Roiste <cillian.deroiste@gmail.com>
Mon, 21 Jan 2008 22:49:49 +0000 (22:49 +0000)
committerCillian de Roiste <cillian.deroiste@gmail.com>
Mon, 21 Jan 2008 22:49:49 +0000 (22:49 +0000)
skins/default/css/webgit.css
src/object_commit.c

index a6c5544..4b2b679 100644 (file)
@@ -79,7 +79,7 @@ a {
   
 }
 
-#summary, #branch-context, #log, #tag, #object-tree { 
+#summary, #branch-context, #log, #tag, #object-tree, #object-commit { 
   background-color: #eee;
   width: 100%;
 }
index 6bf8342..91ad51c 100644 (file)
@@ -358,9 +358,7 @@ webgit_object_commit_action (struct webgit_repo_info* repo, unsigned char* sha1)
   buf = read_object_with_reference (sha1, "commit", &size, NULL);
 
   return html(
-                         html(html_tag("div", html_attr ("id", "object-commit")), 
                                   html(html_tag("div"), webgit_object_commit_menu_action (repo, sha1, buf, size)), html_nl (),
-                                  html(html_tag("div"), webgit_object_commit_content_action (repo, sha1, buf, size)), html_nl ()
-                                  )
+                                  html(html_tag("div", html_attr ("id", "object-commit")), webgit_object_commit_content_action (repo, sha1, buf, size)), html_nl ()
               );
 }