Repository navigation
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
floooat
approved these changes
Nov 26, 2026
LucaB01
deleted the
kai-code/6b08169509db704ce16facf6-21ed1ad9-3aa5-4555-b41d-0beded051ee5
branch
November 26, 2026 14:19
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.
Warning
Root cause: The tour shows the sender photo inside a small round frame, filled edge to edge. The style never said which part of the photo to keep, so the browser kept the top-left corner. Any photo that isn't square showed its left or top edge instead of its middle.
Tip
Fix: The tour style now keeps the middle of the photo, so it sits centered in the frame like in the dashboard.
Automated changes by Kai Code.
The product tour sender avatar (
.gleap-tour-sender-image) draws the profile photo as abackground-size: coverbackground in a 32px circle, but never setbackground-position, so browsers used the default top left. Non-square photos were cropped to their left or top edge and looked off-center, while the dashboard shows them centered. This addsbackground-position: center, plus a jsdom test that injects the widget CSS and checks the computed position. Gleap ticket #230241.🤖 Generated with Claude Code
Gleap ticket: View in Gleap
Checked by Kai Code
src/UI.tourSender.test.jsfails on the base branch and passes with this change (npm test -- $KAI_TESTS)typecheck(2 s)test(27 s)