[wp-meta] [Making WordPress.org] #3510: Code Block Styling

Making WordPress.org noreply at wordpress.org
Tue Mar 13 22:30:01 UTC 2018


#3510: Code Block Styling
-------------------------+------------------
 Reporter:  Howdy_McGee  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:
Component:  Handbooks    |  Resolution:
 Keywords:               |
-------------------------+------------------

Comment (by joyously):

 I think that `code` can be used for short, inline things as well as large
 blocks, so it is not good to make it `display:block`.
 Also, would it be better if the `overflow` is used on `pre`, and let
 `code` wrap around?


 {{{
 pre {
         max-width: 100%;
         overflow: auto;
         padding: 0.5em;
 }
 }}}

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


More information about the wp-meta mailing list