-
Notifications
You must be signed in to change notification settings - Fork 888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix comment author focus outline being broken #4041
Fix comment author focus outline being broken #4041
Conversation
The problem is that now the author text can overflow for sufficiently long names. |
src/renderer/components/watch-video-comments/watch-video-comments.css
Outdated
Show resolved
Hide resolved
If we want to keep overflow set to none, we either need to add left, top and bottom margins to the channelAuthor class (the existing right margin is why the outline is visible there) or add some padding to channelAuthorWrapper, to stop the overflow setting from cropping off the outline. |
Up to you on whether we want to keep the |
I don't really know what the best approach is to solve the problem without overflowing text. |
The latter; apologies if that wasn't clear |
Co-authored-by: Jason <84899178+jasonhenriquez@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* development: Translated using Weblate (French) Avoid extending the VueI18n class as it won't exist in Vue 3 (FreeTubeApp#4046) Fix comment author focus outline being broken (FreeTubeApp#4041) Bump sass from 1.66.1 to 1.67.0 (FreeTubeApp#4052) Bump marked from 9.0.0 to 9.0.2 (FreeTubeApp#4054) Bump the babel group with 2 updates (FreeTubeApp#4050) Bump the eslint group with 1 update (FreeTubeApp#4051) Bump lefthook from 1.4.10 to 1.4.11 (FreeTubeApp#4055) Avoid extending the VueRouter class as it won't exist in Vue 3 (FreeTubeApp#4047) Fix focus disappearing when visiting the settings (FreeTubeApp#4042) Translated using Weblate (Catalan) Translated using Weblate (Bulgarian) Translated using Weblate (Croatian) Translated using Weblate (Hebrew) Translated using Weblate (Portuguese (Brazil)) Translated using Weblate (German) Translated using Weblate (Hungarian) Translated using Weblate (Spanish) Translated using Weblate (Estonian) Translated using Weblate (Ukrainian)
Fix comment author focus outline being broken
Pull Request Type
Related issue
fixes #4025
Description
Fixes the focus outline not wrapping around the comment author, turns out the culprit was
overflow: none
on the.commentAuthorWrapper
class. I also fixed some of the issues that stylelint was pointing out in the file.Screenshots
before:
after:
Testing
Tab through the comments and check that the outline around the comment author names displays correctly.
Desktop