Skip to content

Commit 3fae6f3

Browse files
committed
Make body inline-block so it is as large as contents
1 parent ecaa808 commit 3fae6f3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ jobs:
1616
- run: |
1717
cp .gitconfig ~
1818
sudo cp diff/diff.py /usr/bin
19-
test $(sha256sum $(git ss a257771) | awk '{print $1}') = 2621acdc5e798e2bd60c472678645155ab3fd1c835797e23555bdd295e6a9278
19+
test $(sha256sum $(git ss a257771) | awk '{print $1}') = dbe4f2dec4d4f895dfd96f9359a6906320c1f386b73923b10f09da3db91d0634
2020
name: Verify diff hash

diff/diff.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
table.diff {font-family: monospace; border: medium;}
3030
.diff_header {background-color: #e8f2ff;}
3131
td.diff_header {text-align: right;}
32+
body {display: inline-block;}
3233
details {display: inline-block; margin: 0px 4px 80px 4px;}
3334
summary {background-color: #e8f2ff; border-width: 1px 1px 1px 1px; border-style: solid; cursor: pointer; padding: 0px 4px 0px 4px; position: sticky; top: 0px;}
3435
details[open] summary {border-bottom-width: 0px;}

0 commit comments

Comments
 (0)