Skip to content

Split view diff with arc-green theme have white background  #7568

@relta-c

Description

@relta-c

Description

Split view diff with arc-green will display white background in added line.
I'm not really a web developer so I don't really know much about CSS and stuff
but after digging around a bit it seem to be a result from this line in arc-green.less:

.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(1),
.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(2),
.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(3), <<
.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(4),
.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(5),
.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(6) {
background-color: #2a2e3a;
}

Change it to
.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(3),
seem to fix the issue.

Screenshots

Screenshot_20190723_014402

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions