From b0f73fff0da761eeaf684d455f9007faa23e77c5 Mon Sep 17 00:00:00 2001 From: charlesh88 Date: Tue, 3 Jul 2018 16:57:26 -0700 Subject: [PATCH] Add `overflow: auto` when snapshotting table for Notebook Fixes #2105 --- .../notebook/res/sass/_notebook-base.scss | 28 +++++-------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/platform/features/notebook/res/sass/_notebook-base.scss b/platform/features/notebook/res/sass/_notebook-base.scss index 8a36390df7..fa3376c350 100644 --- a/platform/features/notebook/res/sass/_notebook-base.scss +++ b/platform/features/notebook/res/sass/_notebook-base.scss @@ -144,6 +144,13 @@ } } +.s-status-taking-snapshot, +.overlay.snapshot { + // Handle overflow-y issues with tables and html2canvas + .l-sticky-headers .l-tabular-body { overflow: auto; } +} + + /********************************************* MOBILE */ body.mobile { // Hide the start entry area, and disable ability to edit or delete an entry in mobile context @@ -285,24 +292,3 @@ body.phone.portrait { .overlay.l-dialog .abs.editor { padding-right: 0; } - -/* -.overlay.l-dialog .outer-holder.annotation-dialog{ - width: 90%; - height: 90%; -} -*/ - -/* -.snap-annotation-wrapper{ - padding-top: 40px; -} - - -.t-console { - // Temp console-like reporting element - max-height: 200px; - box-sizing: border-box; - padding: 5px; -} -*/