Skip to content

Commit 66081ed

Browse files
committed
Quick fix and updated padding for table rows
1 parent 385d6aa commit 66081ed

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

website/dimensions.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@
2626
}
2727
th, td {
2828
border: 1px solid #ddd;
29-
padding: 12px 18px;
29+
padding: 2px 18px;
3030
text-align: left;
3131
vertical-align: top;
32-
font-size: 14px;
32+
font-size: 12px;
3333
word-break: break-word;
3434
}
3535
th {
3636
background-color: #1E90FF;
3737
color: white;
38-
font-size: 17px;
38+
font-size: 13px;
3939
}
4040
tr:nth-child(even) {
4141
background-color: #f2f2f2;
@@ -152,8 +152,8 @@ <h2>Research Software Quality Dimensions</h2>
152152
<table id="json-table">
153153
<colgroup>
154154
<col style="width: 25%;"> <!-- Name -->
155-
<col style="width: 20%;"> <!-- Abbreviation -->
156-
<col style="width: 40%;"> <!-- Description -->
155+
<col style="width: 12%;"> <!-- Abbreviation -->
156+
<col style="width: 48%;"> <!-- Description -->
157157
<col style="width: 15%;"> <!-- Source -->
158158
</colgroup>
159159
<thead>
@@ -214,7 +214,7 @@ <h2>Research Software Quality Dimensions</h2>
214214
const nameCell = document.createElement("td");
215215
if (data.name && rowId !== "no_id") {
216216
const nameLink = document.createElement("a");
217-
nameLink.href = data.identifier;
217+
nameLink.href = data["@id"];
218218
nameLink.textContent = data.name;
219219
nameLink.style.color = "#1E90FF";
220220
nameLink.style.marginRight = "8px";

website/indicators.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@
2727
}
2828
th, td {
2929
border: 1px solid #ddd;
30-
padding: 12px 18px;
30+
padding: 4px 18px;
3131
text-align: left;
3232
vertical-align: top;
33-
font-size: 14px;
33+
font-size: 12px;
3434
word-break: break-word;
3535
}
3636
th {
3737
background-color: #1E90FF;
3838
color: white;
39-
font-size: 17px;
39+
font-size: 13px;
4040
}
4141
tr:nth-child(even) {
4242
background-color: #f2f2f2;
@@ -183,8 +183,8 @@ <h2>Research Software Quality Indicators</h2>
183183
<col style="width: 16%;"> <!-- Name -->
184184
<col style="width: 12%;"> <!-- Abbreviation -->
185185
<col style="width: 12%;"> <!-- Keywords -->
186-
<col style="width: 24%;"> <!-- Quality Dimension -->
187-
<col style="width: 24%;"> <!-- Description -->
186+
<col style="width: 10%;"> <!-- Quality Dimension -->
187+
<col style="width: 38%;"> <!-- Description -->
188188
<col style="width: 12%;"> <!-- Source -->
189189
</colgroup>
190190
<thead>

0 commit comments

Comments
 (0)