Patch #23389

Print Styles get overriden by responsive media query

Added by Felix Gliesche 6 months ago. Updated 5 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:UI - Responsive
Target version:3.2.4

Description

Currently the responsive styles get applied not only to screen, but also override print styles. For example, the top padding of the #main container for mobile devices will also be applied when printing a redmine page. If the print styles need to be furhter optimized, that should happen in the media query for print.

I am attaching a patch which fixes the media query so it does not get applied when printing pages.

0001-Change-responsive-media-query-to-screen-only.patch Magnifier (768 Bytes) Felix Gliesche, 2016-07-20 12:11

Associated revisions

Revision 15778
Added by Jean-Philippe Lang 5 months ago

Change responsive media query to screen only (#23389).

Patch by Felix Gliesche.

History

#1 Updated by Go MAEDA 6 months ago

  • Target version set to 3.3.1

#2 Updated by Jean-Philippe Lang 5 months ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version changed from 3.3.1 to 3.2.4

Committed, thanks. I've merged it into 3.2 stable as well.

Also available in: Atom PDF