Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Share the cells of the commit and trailer tables
The trailer table is laid out to match the commit table, so the two
now read their cell spacing from one place. The trailer cells gain the
explicit normal weight the commit cells keep, which they already had
from inheritance.
| -rw-r--r-- | assets/cgit.css | 11 |
1 file changed, 4 insertions, 7 deletions
diff --git a/assets/cgit.css b/assets/cgit.css index 48dcd98..d013cdb 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -966,14 +966,16 @@ div#cgit table.commit-info { margin-top: 1.5em; } -div#cgit table.commit-info th { +div#cgit table.commit-info th, +div#cgit table.commit-trailers th { text-align: left; font-weight: normal; padding: 0.1em 1em 0.1em 0.1em; vertical-align: top; } -div#cgit table.commit-info td { +div#cgit table.commit-info td, +div#cgit table.commit-trailers td { font-weight: normal; padding: 0.1em 1em 0.1em 0.1em; } @@ -1002,15 +1004,10 @@ div#cgit table.commit-trailers { } div#cgit table.commit-trailers th { - text-align: left; - font-weight: normal; - padding: 0.1em 1em 0.1em 0.1em; - vertical-align: top; white-space: nowrap; } div#cgit table.commit-trailers td { - padding: 0.1em 1em 0.1em 0.1em; overflow-wrap: anywhere; } |
