[wp-trac] [WordPress Trac] #44474: Add print styles to backend

WordPress Trac noreply at wordpress.org
Fri Mar 20 03:04:42 UTC 2020


#44474: Add print styles to backend
----------------------------+------------------------------
 Reporter:  strarsis        |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  css
----------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => has-patch
 * focuses:   => css
 * version:  4.9.6 =>


Comment:

 @strarsis Thanks for the suggestion!

 It's worth adding at least a few print styles to WordPress core, to remove
 the gray background color and hide the navigation items, etc.

 I think changing the font would belong better in a plugin, though, and
 perhaps changing (most) colors would belong there as well.

 This patch makes some basic changes for printing. I chose to give the
 `#wpcontent` section a rather arbitrary `1em` margin on each side so
 content would not run to the edge of the page.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44474#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list