Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the login theme’s identity-provider label and button layout updates.
No open issues 🎉
What changed in this PR
Updates the keycloak.v2 login theme to keep long identity provider names readable and button layouts consistent, addressing #55093.
Changes:
- Allows provider labels to wrap, including long unbroken text.
- Prevents provider images and picture elements from shrinking.
- Stretches buttons to equal height within each grid row.
| File | Description |
|---|---|
themes/src/main/resources/theme/keycloak.v2/login/resources/css/styles.css |
Adds label wrapping, icon sizing protection, and equal-height grid button styles. |
Review effort: Balanced
Long identity provider display names can overflow their buttons on the `keycloak.v2` login page. Allow labels to wrap, prevent icons from shrinking, and make buttons in each grid row equal height. This keeps provider names readable and the layout consistent when realms have long display names or multiple identity providers. Closes keycloak#55093 Signed-off-by: Rastislav Wagner <rawagner@redhat.com> Assisted-by: Codex <noreply@openai.com>
rawagner
force-pushed
the
fix/idp-button-label-wrap
branch
from
November 12, 2026 10:53
c109149 to
24e1ec4
Compare
edewit
approved these changes
Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Long identity provider display names can overflow their buttons on the
keycloak.v2login page. Allow labels to wrap, prevent icons from shrinking, and make buttons in each grid row equal height.This keeps provider names readable and the layout consistent when realms have long display names or multiple identity providers.
closes: #55093
before:

after: