Remove fixed size from svg

This commit is contained in:
Oswaldo Acauan 2018-04-12 09:43:18 -03:00
parent 01348ad4f3
commit 0c5b278cef
2 changed files with 1 additions and 6 deletions

View File

@ -167,11 +167,6 @@ export default class PresentationArea extends Component {
timeout={{ enter: 400 }}
>
<svg
// width={width}
// height={height}
style={{
maxHeight: `${adjustedSizes.height}px`,
}}
preserveAspectRatio="xMidYMid meet"
ref={(ref) => { if (ref != null) { this.svggroup = ref; } }}
viewBox={`${x} ${y} ${viewBoxWidth} ${viewBoxHeight}`}

View File

@ -53,9 +53,9 @@
}
.svgStyles {
max-height: 100%;
//always show an arrow by default
cursor: default;
//double click on the whiteboard shouldn't change the cursor
user-select: none;
}