Fix underlined space in author name#41888
Merged
c0ffeeca7 merged 1 commit intoNov 21, 2025
Merged
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
c0ffeeca7
approved these changes
Nov 21, 2025
Contributor
c0ffeeca7
left a comment
There was a problem hiding this comment.
Thank you, @TheJulianJES 👍
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Proposed change
This PR fixes an issue that has existed for quite a while, where there's an underlined leading space in front of all author names which are associated with a person (i.e. profile picture + GitHub link).
(I unfortunately notice this every time)
Details
Currently, the profile picture and author name in (e.g.) blog posts look like this. I've highlighted the leading space that's underlined, likely unintentional:

With this PR, this underlined leading space is removed completely:

The
author-avataralready has an 8px margin on the right (only), so that's likely all the padding ever wanted between the avatar and name, not requiring that additional space of padding. For the 8px margin, see:home-assistant.io/sass/homeassistant/_overrides.scss
Line 1488 in 565bf64
"What about the space in line 15?"
The space in line 15 needs to stay, since we only use an icon there. Since nothing is underlined there anyways, we can add the space just fine.
With and without this PR, it looks like this (already correct):
Removing the space would make it look like this, which is worse:
Type of change
currentbranch).currentbranch).nextbranch).nextbranch).Additional information
Checklist
currentbranch.nextbranch.