Remove fixed size from svg
This commit is contained in:
parent
01348ad4f3
commit
0c5b278cef
@ -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}`}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user