]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.css
ui-blame: free read_sha1_file() buffer after use
[ps-cgit] / cgit.css
index 893ebeb4038bc5d64d918a21930b950ea5c68b0a..217a05a557d7d806006946810efbdb47437d37bb 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -330,14 +330,39 @@ div#cgit table.ssdiff td.lineno a:hover {
        color: black;
 }
 
-div#cgit table.blame tr:nth-child(even) {
+div#cgit table.blame td.hashes,
+div#cgit table.blame td.lines,
+div#cgit table.blame td.linenumbers {
+       padding: 0;
+}
+
+div#cgit table.blame td.hashes div.alt,
+div#cgit table.blame td.lines div.alt {
+       padding: 0 0.5em 0 0.5em;
+}
+
+div#cgit table.blame td.linenumbers div.alt {
+       padding: 0 0.5em 0 0;
+}
+
+div#cgit table.blame div.alt:nth-child(even) {
        background: #eee;
 }
 
-div#cgit table.blame tr:nth-child(odd) {
+div#cgit table.blame div.alt:nth-child(odd) {
        background: white;
 }
 
+div#cgit table.blame td.lines > div {
+       position: relative;
+}
+
+div#cgit table.blame td.lines > div > pre {
+       padding: 0 0 0 0.5em;
+       position: absolute;
+       top: 0;
+}
+
 div#cgit table.bin-blob {
        margin-top: 0.5em;
        border: solid 1px black;