From f509777ea2c9947aca6e5e1e53179da56b0cb274 Mon Sep 17 00:00:00 2001 From: Charles Forman Date: Wed, 6 Dec 2017 18:07:41 -0500 Subject: [PATCH] Can export now on small screens. Fixes #920 --- src/css/print-window.css | 30 ++++++++++++++++++++++++++---- src/print-window.html | 6 +++--- 2 files changed, 29 insertions(+), 7 deletions(-) diff --git a/src/css/print-window.css b/src/css/print-window.css index 189d12f6f7..d000c730b4 100644 --- a/src/css/print-window.css +++ b/src/css/print-window.css @@ -226,7 +226,8 @@ h2 { padding: 20px; box-sizing: border-box; color: rgba(0,0,0,0.6); - position: relative; + position: relative; + overflow: scroll; } #config-title { @@ -329,14 +330,34 @@ input { } #button-content { - width: 100%; - position: absolute; + width: 300px; + position: fixed; bottom: 0; left: 0; padding: 20px; box-sizing: border-box; } +#print-button { + width: 50%; + display: inline-block; +} + +#pdf-button { + width: 50%; + padding: 24px 15px; + margin-left: 13px; + position: relative; + bottom: 0; + border-radius: 10px; + font-weight: 300; + font-size: 18px; + transition: 300ms background; + box-sizing: border-box; + -webkit-app-region: initial; + cursor: default; +} + .row { margin-top: 15px; } @@ -355,9 +376,10 @@ input { color: #555; text-decoration: none; background: rgba(255, 255, 255, 0.25); - padding: 12px; + /*padding: 12px;*/ border-radius: 6px; } + .link-button:hover { color: #444; background: rgba(255, 255, 255, 0.4); diff --git a/src/print-window.html b/src/print-window.html index a1306b4988..60ec625733 100644 --- a/src/print-window.html +++ b/src/print-window.html @@ -84,12 +84,12 @@

Print

-
- Export Printable PDF +
- + Export PDF +