Modify

Opened 6 years ago

Closed 6 years ago

#4754 closed enhancement (fixed)

Printer friendly version of post

Reported by: ilmars Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Trac hides unneeded parts of interface when printing. It uses css media type for that. I needed to print blog post and discovered that sidebar is printed too. At least for me, it is usefull only when browsing on screen and contains unneeded information for print version. So, I'm not css expert, but adding

to fullblog.css worked for me and solved my issue.

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by ilmars

'-' added to get around spam protection

 @media print {
  .blog #blog-main { wid-th: 100%; }
  .blog #sidebar { wid-th: 0%; display: none; }
 }

comment:2 Changed 6 years ago by osimons

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

(In [5336]) FullBlogPlugin: Adding print styles - removing sidebar and some other not needed elements.

Thanks to ilmars for suggestion and patch!

Closes #4754.

Add Comment

Modify Ticket

Action
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.