Skip to content

Commit 9364c03

Browse files
Release List: Draft for Dependencies as Table - Q&D Format Improvement
1 parent 8fa97b2 commit 9364c03

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

css/table_header_rotate.css

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11

22
/*
3+
minimal format
4+
TODO move to separate file
5+
*/
6+
7+
body {
8+
font-family: sans-serif;
9+
}
10+
11+
th {
12+
font-weight: normal;
13+
}
14+
15+
td {
16+
text-align: center;
17+
}
18+
19+
/*
20+
--------------------------------------------------------------------------
321
quick draft, based on https://css-tricks.com/rotated-table-column-headers/
422
TODO cleanup and update
523
*/
@@ -14,7 +32,7 @@ th.rotate > div {
1432
transform: translate(5px, 51px) rotate(315deg);
1533
width: 30px;
1634

17-
transform: translate(5px, 100px) rotate(315deg);
35+
transform: translate(0px, 100px) rotate(315deg);
1836
}
1937
th.rotate > div > span {
2038
padding: 5px 10px;

scripts/update_releases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def generate_html_table(dependencies):
157157
html_content += '</tr>\n'
158158

159159
for dep_name, dep_details in dependencies.items():
160-
html_content += f'<tr><td>{dep_name}</td>'
160+
html_content += f'<tr><th>{dep_name}</th>'
161161
for key in all_keys:
162162
if key in dep_details:
163163
html_content += '<td>X</td>'

0 commit comments

Comments
 (0)