Skip to content

Commit ff5600d

Browse files
committed
Optimize badge labels and balance column widths
Changes: - Shortened Issues badge label from 'Issues' to 'I' (consistent with D, L, V) - Adjusted column widths for balanced badge sizes: * Version: 10% → 11% (wider) * Issues: 14% → 11% (narrower, due to shorter label) * Doc CI: 10% → 12% (wider) * Core CI: 12% → 13% (wider) * Deploy CI: 12% → 13% (wider) - All badges now have similar vertical size for consistent appearance - Total fixed width: 70% (vs 68% before)
1 parent cab5db3 commit ff5600d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

assets/js/tablecommon.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8277,7 +8277,7 @@ function addIssues(repo) {
82778277
const issue_image = document.createElement('img');
82788278
issue_image.setAttribute(
82798279
'src',
8280-
'https://img.shields.io/github/issues/giellalt/' + repo.name + '?label=Issues'
8280+
'https://img.shields.io/github/issues/giellalt/' + repo.name + '?label=I'
82818281
);
82828282
issue_image.setAttribute('alt', 'GitHub Issues');
82838283
a_issue.appendChild(issue_image);
@@ -8334,24 +8334,24 @@ function addTableHeader(fromLangRepoTable = false) {
83348334

83358335
let heading_3 = document.createElement('th');
83368336
heading_3.innerHTML = 'Issues';
8337-
heading_3.setAttribute('style', 'width: 14%;');
8337+
heading_3.setAttribute('style', 'width: 11%;');
83388338
let heading_4 = document.createElement('th');
83398339
heading_4.innerHTML = 'Doc Ci';
8340-
heading_4.setAttribute('style', 'width: 10%;');
8340+
heading_4.setAttribute('style', 'width: 12%;');
83418341
let heading_5 = document.createElement('th');
83428342
heading_5.innerHTML = 'Core CI';
8343-
heading_5.setAttribute('style', 'width: 12%;');
8343+
heading_5.setAttribute('style', 'width: 13%;');
83448344
let heading_6 = document.createElement('th');
83458345
heading_6.innerHTML = 'Deploy CI';
8346-
heading_6.setAttribute('style', 'width: 12%;');
8346+
heading_6.setAttribute('style', 'width: 13%;');
83478347

83488348
row_1.appendChild(heading_1);
83498349
row_1.appendChild(heading_2);
83508350
// Add extra columns only when called from addLangRepoTable
83518351
if (fromLangRepoTable) {
83528352
let heading_2a = document.createElement('th');
83538353
heading_2a.innerHTML = 'Version';
8354-
heading_2a.setAttribute('style', 'width: 10%;');
8354+
heading_2a.setAttribute('style', 'width: 11%;');
83558355
row_1.appendChild(heading_2a);
83568356
let heading_2b = document.createElement('th');
83578357
heading_2b.innerHTML = 'Lemma Count';

0 commit comments

Comments
 (0)