Add left padding for chunk header of split diff view#13397
Conversation
This commit adds 10px padding-left on chunk header element (which is `<span>`). Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #13397 +/- ##
==========================================
- Coverage 42.13% 42.13% -0.01%
==========================================
Files 691 691
Lines 75968 75968
==========================================
- Hits 32010 32009 -1
- Misses 38710 38714 +4
+ Partials 5248 5245 -3
Continue to review full report at Codecov.
|
|
Could also use the helper class gitea/web_src/less/helpers.less Line 65 in 06268dc Thought I guess you really want gitea/web_src/less/helpers.less Line 93 in 06268dc |
|
@silverwind I'd tried your suggestion at commit bagasme/gitea@adda0dc. |
|
Try |
|
@silverwind I still can't get the |
|
Will try later. Unless there is JS that overrides it, I see no reason why it shouldn't work. |
|
@silverwind that was what I mean for this PR |
|
Hm seems like the screenshot in the PR description is misleading and has intentionally cropped out the existing whitespace from |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 months. Thank you for your contributions. |
|
@mrsdizzie I've been able to replicate what @bagasme was seeing and I've fixed up this PR. I think this is now ready for merge. |
Codecov Report
@@ Coverage Diff @@
## main #13397 +/- ##
=======================================
Coverage 45.25% 45.26%
=======================================
Files 771 771
Lines 86767 86767
=======================================
+ Hits 39264 39272 +8
+ Misses 41148 41140 -8
Partials 6355 6355
Continue to review full report at Codecov.
|



This commit adds 10px
padding-lefton chunk header element(which is
<span>).For example (taken from commit 06268dc):

Without padding, the chunk header looks less neat:

Signed-off-by: Bagas Sanjaya bagasdotme@gmail.com