about summary refs log tree commit diff
path: root/client/print.css
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-02T13·23+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-02T13·23+0100
commit803db7a5b2f1b8fadda45efce56d6c31a74a1e08 (patch)
tree9bd7f6b14686f9b30d2f59d992dd0bcb7b114f42 /client/print.css
parent699892883ceaffb64e0d9b9aaab67313a60a5428 (diff)
Support printing user's itinerary
- Define print.css with media=print type (note: could've been handled with
  @media queries)
- Define printPage port to interop with window.print() JS function
- Support UI.wrapNoPrint to wrap components with a the no-print CSS
Diffstat (limited to 'client/print.css')
-rw-r--r--client/print.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/print.css b/client/print.css
new file mode 100644
index 000000000000..3cfb279230cb
--- /dev/null
+++ b/client/print.css
@@ -0,0 +1,3 @@
+.no-print {
+  display: none;
+}