pytest-dev / pytest-dev/pytest-html

Modify CSS to remove background color of Environment table odd rows

Open
#904 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
779
Forks
260
PR merge metrics
No merged PRs in 30d

Description

The odd rows of the Environment table have a different background color than the rest of the HTML report.

When we add a custom CSS file with a body background color, those odd rows break the homogeneity of the page

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the HTML report styling for the Environment table and reproduce the issue with a custom CSS file that sets the body background color. Update the odd-row styling so the table rows remain visually uniform, then verify the generated report against the attached example.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, python
Domain
frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
54/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.