-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add display override for hiding content when printing
When printing users often need to print the content without the surrounding site furniture (eg menus, breadcrumbs, back links and footers). Introduce a helper so that a class can be used to hide any given element from the print view. This is explicit and preferable to listing all the selectors for things that shouldn't be printed. These lists grow unwieldy over time.
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters