Skip to content

FIX: Align mobile PM locations with usernames and titles - #186

Merged
merefield merged 1 commit into
mainfrom
fix/mobile-pm-location-name-alignment
Sep 19, 2026
Merged

merefield merged 1 commit into
mainfrom
fix/mobile-pm-location-name-alignment

Conversation

@merefield

Copy link
Copy Markdown
Owner

Mobile personal messages from users with titles can still show the location to the left of the username after #185. The avatar's width plus its float margin can exceed the metadata's nominal 50px inset, so copying that inset does not guarantee alignment.

Wrap the metadata and location in one flow-root container only below 40rem on personal-message pages with a rendered user title. The container clears the avatar horizontally, and both rows share its left edge. Use display: contents for the wrapper in other scenarios. Bump the plugin version to 7.3.16.

Validation: 96 reduced Chromium layout checks across viewport sizes, avatar sizes, font sizes, public/PM, and title/no-title combinations. These reproduced the previous misalignment, verified identical left coordinates for the location, username, and title in the targeted case, and verified unchanged coordinates in other cases. Prettier, Stylelint, ESLint, Ruby syntax, and git diff checks passed. Full Discourse system tests were not run.

@merefield
merefield merged commit e71bd26 into main Sep 19, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant