Fix exception in presentation when publishing poll while minimized

This commit is contained in:
KDSBrowne 2020-04-27 17:25:22 +00:00
parent a65e00bcc8
commit de7e2780c7
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;