Skip to content
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 for extra added spaces at the start of lines #145

Merged
merged 5 commits into from
Aug 30, 2024

Conversation

nimah79
Copy link
Contributor

@nimah79 nimah79 commented Aug 28, 2024

Assume I have the following code block:

code-block

With gutter enabled, when I drag the code and paste it to an editor, it will be as follows:

code-block-2

As you can see, there is extra space at the start of each line.

This PR removes the extra space and adds 1 char right margin to gutter elements. This output will be as follows:

code-block-3

@coveralls
Copy link

coveralls commented Aug 28, 2024

Pull Request Test Coverage Report for Build 10628754489

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.004%) to 93.019%

Totals Coverage Status
Change from base Build 10578407183: 0.004%
Covered Lines: 1559
Relevant Lines: 1676

💛 - Coveralls

@brendt brendt merged commit d767c3c into tempestphp:main Aug 30, 2024
4 checks passed
@brendt
Copy link
Member

brendt commented Aug 30, 2024

Thanks!

@brendt
Copy link
Member

brendt commented Aug 30, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants