Skip to content

Add fix-first-tab-length feature - #3288

Merged
fregante merged 6 commits into
masterfrom
fix-first-tab-length
Jul 11, 2020
Merged

fregante merged 6 commits into
masterfrom
fix-first-tab-length

Conversation

@notlmn

@notlmn notlmn commented Jun 26, 2020 •

Copy link
Copy Markdown
Contributor

Shamelessly copied PR description over from #3058

Replaces #3058
Fixes #3055

Note: this works regardless of remove-diff-signs’ status.

Test

Have been using this placed in CSS box in options page for more than 20 days, and haven't see any issues.

a741080#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R161

Before (short first tab) and after (all tabs are 4-characters long)

tab

@fregante

Copy link
Copy Markdown
Member

Please make a new gif to show that the current CSS is working, not the one from the previous PR

@notlmn

notlmn commented Jun 29, 2020

Copy link
Copy Markdown
Contributor Author

@fregante updated prev/new tab change GIF. PTAL.

@fregante

fregante commented Jul 1, 2020

Copy link
Copy Markdown
Member

Help wanted testing this. I copy-pasted this into the CSS field for now, but these days I won't be using GitHub much

@fregante fregante left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WFM!

@fregante

fregante commented Jul 6, 2020

Copy link
Copy Markdown
Member

The gif/screenshot needs to be added to the readme in the "github’s bugs" section

However perhaps it needs some explanation in the image, like "GitHub bug: the first tab appears 2 spaces shorter than it should be". Even a plain screenshot of the "before" state would be enough

Comment thread readme.md Resolved
@fregante fregante changed the title Fix first tab length Add fix-first-tab-length feature Jul 11, 2020
@fregante
fregante merged commit c60680c into master Jul 11, 2020
@fregante
fregante deleted the fix-first-tab-length branch July 11, 2020 21:06
yakov116 pushed a commit to yakov116/refined-github that referenced this pull request Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Incorrect tab size in GitHub diff UI

2 participants