Repository navigation
web: scale small application icons - #24620
Conversation
Scale raster application icons to their configured display size while preserving their aspect ratio, preventing small source images from rendering at their natural dimensions. Before: SEE PR After: SEE PR
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR updates the web UI’s ak-app-icon styling to ensure raster (and other <img>) application icons are always rendered at the configured icon size, using object-fit: contain to preserve aspect ratio instead of falling back to the image’s intrinsic dimensions.
Changes:
- Add explicit
height/widthsizing forimg.iconto match--icon-height. - Use
object-fit: containso non-square source images scale proportionally within the square icon box. - Remove a duplicated
max-heightdeclaration by properly closing the.iconrule before adding the newimg.iconrule.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
❌ 1 Tests Failed:
View the top 1 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-3ba75fe6c1e30edfa3b6c15ae5ad630390ce2efb
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-3ba75fe6c1e30edfa3b6c15ae5ad630390ce2efbAfterwards, run the upgrade commands from the latest release notes. |
* main: root: add AI_POLICY.md (#23481) core: Actors (#24353) ci: release publish: fix image attestation (cherry-pick #24706 to main) (#24707) stages/authenticator_validate: fix intermittnetly failing throttling test (#24568) ci: release publish: fix metadata parsing (cherry-pick #24703 to main) (#24704) website/docs: fix sidebar titles and ordering (#24051) ci: release publish: fix missing gh cli env var (cherry-pick #24695 to main) (#24696) ci: release: rename major release to release family (#24691) web: ensure native select popup contrast (#24622) web: scale small application icons (#24620) ci: release tag: add validation that the workflow was started on the appropriate branch (#24676) ci: release publish: fix missing checkout (cherry-pick #24684 to main) (#24685) web: contain long text in tables and application cards (#24621) web: hide plain action icons while loading (#24618) website/docs: fix brand name in google results (#24687) website/docs: Mark the release notes for 2026.8 as 'beta' (#24682)
Scale raster application icons to their configured display size while preserving their aspect ratio, preventing small source images from rendering at their natural dimensions.
Closes: #21348
Before:
After: