Oversized refresh icons in artifact view after upgrade to Harbor v2.15.2
Expected behavior and actual behavior: After upgrading Harbor to v2.15.2, refresh icons in the artifact view render extremely large and disrupt the page layout. Reproduced in Chrome and Safari. Refreshing the page and changing ingress CSP settings did not resolve it.
Expected: refresh icons should remain small toolbar controls (around 16px) without affecting layout.
Steps to reproduce the problem:
- Upgrade Harbor from v2.15.1 to v2.15.2.
- Open a project repository Artifacts page.
- Observe refresh icons near the artifact table or filter toolbar.
Versions:
- Harbor: v2.15.2 (observed after upgrade from v2.15.1)
- Browsers: Chrome and Safari
Additional context:
In both tags, the artifact template uses a bare <clr-icon shape="refresh"></clr-icon> inside <span class="refresh-btn"> with no explicit size or dimensions. Its SCSS only sets cursor and hover color; other icons in the same template specify sizes.
The Portal dependency upgrade in PR #23379 updated Angular to 21 and Clarity to 18. The exact style change causing this regression is not yet identified. Relevant templates: v2.15.1, v2.15.2.
Could the refresh icon be given an explicit size (such as size="16") or otherwise constrained to keep it consistent with the toolbar?
Source: goharbor/harbor