We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
show-whitespace
22.5.22
Safari
Custom tab size is broken for me: https://github.com/settings/appearance
Tabs are rendered as 8 spaces even my setting is for 2:
This is because GitHub isn't adding any data-tab-size attributes in comments for me, even without RGH. I'm only seeing them on embedded code.
data-tab-size
And for some reason we default to "4" instead of "8" in our code:
refined-github/source/features/show-whitespace.css
Line 39 in 50c6faf
Live:
1 space 1 tab
Screenshot:
We have 2 options:
:where(:root) {--tab-size: 4; tab-size: 4}
We should probably do both. The latter can be hotfixed.
The text was updated successfully, but these errors were encountered:
#5708 22.5.22 tab-size
58fba5b
fregante
Successfully merging a pull request may close this issue.
Please ensure:
Example URLs
show-whitespace
sandbox#18Extension version
22.5.22
Browser(s) used
Safari
Description
Custom tab size is broken for me: https://github.com/settings/appearance
Tabs are rendered as 8 spaces even my setting is for 2:
This is because GitHub isn't adding any
data-tab-size
attributes in comments for me, even without RGH. I'm only seeing them on embedded code.And for some reason we default to "4" instead of "8" in our code:
refined-github/source/features/show-whitespace.css
Line 39 in 50c6faf
Demo
Live:
Screenshot:
Solution
We have 2 options:
:where(:root) {--tab-size: 4; tab-size: 4}
We should probably do both. The latter can be hotfixed.
Include in this issue:
The text was updated successfully, but these errors were encountered: