Make WordPress Core

Opened 4 years ago

Last modified 12 months ago

#37315 new defect (bug)

Underscores are not visible for inputs marked .code or code element

Reported by: andreasnrb Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords: needs-patch
Focuses: ui, administration Cc:


The .code, code CSS in common.css uses font-family: Consolas, Monaco, monospace. On Ubuntu with Chrome (haven't tested others) the _ and perhaps other characters are invisible. Changing to Arial reintroduces the _.

Attachments (1)

no_underscores_in_field.png (9.0 KB) - added by andreasnrb 4 years ago.

Download all attachments as: .zip

Change History (6)

#1 follow-up: @andreasnrb
4 years ago

Perhaps this belongs to #36753 ?

#2 in reply to: ↑ 1 @helen
4 years ago

  • Keywords reporter-feedback added

Replying to andreasnrb:

Perhaps this belongs to #36753 ?

Seems unlikely, as that did not touch this font stack. Changing to Arial defeats the purpose of the code styling - looks like maybe an input height issue. This doesn't happen in 4.5?

#3 @SergeyBiryukov
4 years ago

  • Component changed from General to Administration
  • Focuses ui administration added

#4 @andreasnrb
4 years ago

  • Component changed from Administration to General
  • Focuses ui administration removed
  • Keywords reporter-feedback removed

It was a line-height issue. Changing height did not help. Changing line-height from normal to >1.3 fixes issue for me. Issue is in 4.5 as well.

#5 @ocean90
4 years ago

  • Focuses ui administration added
  • Keywords needs-patch added
  • Version trunk deleted
Note: See TracTickets for help on using tickets.