diff --git a/test/app/logging_test.js b/test/app/logging_test.js index 82f6cd723..bfdf20fac 100644 --- a/test/app/logging_test.js +++ b/test/app/logging_test.js @@ -28,7 +28,12 @@ describe('app/logging', () => { afterEach(done => { // we need the unsafe option to recursively remove the directory - tmpDir.removeCallback(done); + try { + tmpDir.removeCallback(done); + } catch (e) { + // eslint-disable-next-line no-console + console.error('removeCallback failed with ', e); + } }); describe('#isLineAfterDate', () => { diff --git a/ts/components/Lightbox.tsx b/ts/components/Lightbox.tsx index 1f46fac2b..ad7ce8ac2 100644 --- a/ts/components/Lightbox.tsx +++ b/ts/components/Lightbox.tsx @@ -56,6 +56,9 @@ const styles = { paddingLeft: 40, paddingRight: 40, paddingBottom: 0, + minHeight: 0, + overflow: 'hidden', + minWidth: 0, } as React.CSSProperties, objectContainer: { position: 'relative',