diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 9349a0df57..f6f4c44b9c 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -869,6 +869,13 @@ function expandField(fieldId){ .centered { text-align: center; } + + .current_version { + overflow: scroll; + width: 21ch; + padding: 10px 2px 10px 2px; + } + .correct, .nopatches, .good_url, .version-good, .cpe-ok, .cve-ok { background: #d2ffc4; } @@ -986,10 +993,7 @@ def dump_html_pkg(f, pkg): # Current version data_field_id = f'current_version__{pkg_css_class}' - if len(pkg.current_version) > 20: - current_version = pkg.current_version[:20] + "..." - else: - current_version = pkg.current_version + current_version = pkg.current_version f.write(f'