[wp-meta] [Making WordPress.org] #6391: pre tag broken in theme preview in themes directory - classic themes

Making WordPress.org noreply at wordpress.org
Thu Jul 7 05:09:46 UTC 2022


#6391: pre tag broken in theme preview in themes directory - classic themes
-----------------------------+---------------------
 Reporter:  benimub          |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:
Component:  Theme Directory  |  Resolution:
 Keywords:  theme-preview    |
-----------------------------+---------------------

Comment (by benimub):

 @kafleg you can add this code in style.css under the pre.


 {{{
 pre {
     background: #eee;
     font-family: "Courier 10 Pitch", courier, monospace;
     line-height: 1.6;
     margin-bottom: 1.6em;
     max-width: 100%;
     overflow: auto;
     padding: 1.6em;
     white-space: normal;
 }
 }}}


 I have added `white-space: normal;`

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6391#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list