status component: Fix repeater name overflowing #383
No reviewers
Labels
No labels
a11y
Bug
Bug fix
cannot reproduce
CSS
Documentation
enhancement
Feature
Feature request
Held for next release cycle
Minor change
needs change/feedback
performance
priority: critical
priority: high
priority: low
priority: medium
priority: patch welcome
regression
Translation/Locale
WIP
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AkkomaGang/akkoma-fe!383
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "yukijoou/akkoma-fe:fix-status-usernames"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If someone repeating a post had a long username, their username would overflow beyond the bounds of the post.
This fixes this isse by turning the bar displaying the username and repeat icon into a flexbox.
Hi, thanks for the fix.
I’m far from an expert in CSS, but it seems to work fine in testing. Though i have some – potentially silly – questions. Could you explain those parts in more detail?
@ -87,7 +87,6 @@.status-username {white-space: nowrap;overflow: hidden;max-width: 85%;this removes
max-widthfor usernames above all statuses regardless of whether it’s the author’s name or a repeater name, but only new restrictions for repeater names are addedAre you sure this doesn't introduce any new overflow issues? Which other rule already ensures this?
I'm honestly not sure why I removed this in the first place, I think this is a leftover from an earlier attempt at fixing the bug. Reverting this change doesn't seem to cause any issue, so I'll just do that to avoid introducing regressions!
@ -111,0 +110,4 @@<divclass="repeat-text">{{ $t('timeline.repeated') }}This only includes the actual “repeated” text into the
flex-shrink: 0;section. Testing the change shows the icon doesn’t get hidden regardless. Do you think it’d make sense to still include the icon into theflex-shrink: 0;section anyway to better communicate the desired output (not hiding the icon)?indeed, seems like this would be cleaner!
578b82f8718c49474deathis should be all good now :) thanks for the review!
Thank you