Repository navigation
Conversation
Contributor
|
@fregante, what specifically made you drop this PR? |
Member
Author
Contributor
|
Yes, but I took a stab at it today, and it seems to work as expected both in unified and diff views. /* Remove diff signs from the layout flow */
.blob-code-inner::before,
.blob-code-marker-cell::before {
position: absolute;
transform: translateX(-100%);
}
/* Restore the space that collapsed as a consequence of the previous rule */
:not(.js-suggested-changes-blob) tr:not(.js-expandable-line) .blob-code,
.js-suggested-changes-blob .blob-code-inner {
padding-left: 25px !important; /* GitHub sets it to 18px */
text-indent: 0 !important; /* GitHub sets it to -7px */
}
/* Adjust add comment button position, because of extra padding above */
.add-line-comment {
margin-left: -37px !important; /* GitHub sets this at -28px */
} |
Member
Author
|
Place it in the CSS box in the options and test it out for a few days. If it works open a PR |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes#3055Note: this works regardless of
remove-diff-signs’ status.Test
Needs further testing, but this is the starting point:
a741080#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R161
Before (short first tab) and after (all tabs are 4-characters long)
