Make WordPress Core

Opened 7 months ago

Last modified 5 months ago

#42651 reviewing enhancement

Code within a field description should not be italic

Reported by: johnbillion Owned by: johnbillion
Milestone: 5.0 Priority: normal
Severity: trivial Version:
Component: Administration Keywords: has-screenshots has-patch
Focuses: administration Cc:


Given some descriptive text in the admin area such as the following, the text within the <code> element appears in italic, but ideally it should not.

<p class="description">This is italic and so is <code>$this</code>.</p>

Some CSS along the lines of .description code { font-style: normal; } should do the trick.

Attachments (2)

Screen Shot 2017-11-21 at 16.20.10.png (12.7 KB) - added by johnbillion 7 months ago.
42651.diff (650 bytes) - added by chetan200891 7 months ago.
Created patch to make font style: normal for code within description.

Download all attachments as: .zip

Change History (7)

#1 @johnbillion
7 months ago

  • Keywords has-screenshots good-first-bug ui-feedback added

7 months ago

Created patch to make font style: normal for code within description.

#2 @chetan200891
7 months ago

  • Keywords has-patch added; needs-patch removed

#3 @annatly2
5 months ago

  • Resolution set to worksforme
  • Status changed from new to closed

To make just the text inside the code tags not italic, you'll want to include this in the CSS:

.description code { font-style: normal; }

#4 @johnbillion
5 months ago

  • Keywords good-first-bug ui-feedback removed
  • Milestone changed from Awaiting Review to 5.0
  • Resolution worksforme deleted
  • Status changed from closed to reopened

Right. The intention of this ticket is to include that by default.

#5 @johnbillion
5 months ago

  • Owner set to johnbillion
  • Status changed from reopened to reviewing
Note: See TracTickets for help on using tickets.