Merge pull request #9289 from KDSBrowne/issue-9287

Fix exception in presentation when minimized and poll published
This commit is contained in:
Anton Georgiev 2020-04-27 13:57:04 -04:00 committed by GitHub
commit a0e02932c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 13 deletions

View File

@ -66,15 +66,7 @@ $after-content-order: 3;
}
.hideOverlay {
visibility: hidden !important;
position: absolute !important;
overflow: hidden !important;
clip: rect(0 0 0 0) !important;
width: 1px !important;
height: 1px !important;
margin: -1px !important;
padding: 0 !important;
border: 0 !important;
}
.floatingOverlay {

View File

@ -412,7 +412,7 @@ class PresentationArea extends PureComponent {
};
const svgViewBox = `${viewBoxPosition.x} ${viewBoxPosition.y} `
+ `${viewBoxDimensions.width} ${viewBoxDimensions.height}`;
+ `${viewBoxDimensions.width} ${Number.isNaN(viewBoxDimensions.height) ? 0 : viewBoxDimensions.height}`;
return (
<div

View File

@ -29,6 +29,7 @@
left: auto;
bottom: 0;
pointer-events: none;
z-index: 3;
[dir="rtl"] & {
margin: 0 0 0 var(--toolbar-margin);
@ -42,10 +43,6 @@
}
}
.toolbarContainer:hover{
z-index: 3;
}
.toolbarWrapper {
width: 100%;
display: flex;