Fix a missing column of background color in code blocks.

Review Request #12615 — Created Sept. 21, 2022 and submitted

Information

Review Board
release-5.0.x

Reviewers

The code block CSS had a vertical strip of white just to the left of the
actual code being displayed. This was due to a :before rule that
didn't have a background set, getting the background instead from the
parent container.

This change adds a background: inherit to ensure it gets the
background color set by the element it's part of.

Tested that this looked correct on Firefox and Chrome.

Checked code blocks in text fields (like Description), which dock to edges,
and in reviews.

Summary ID
Fix a missing column of background color in code blocks.
The code block CSS had a vertical strip of white just to the left of the actual code being displayed. This was due to a `:before` rule that didn't have a background set, getting the background instead from the parent container. This change adds a `background: inherit` to ensure it gets the background color set by the element it's part of.
68c1336751bd26115497ae2eb0e7e562bfd72688

david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-5.0.x (d5e7b56)