File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1143,12 +1143,17 @@ input#auto_increment_opt {
11431143 border : 1px solid #aaa ;
11441144 overflow : hidden ;
11451145 box-sizing : content-box ;
1146+ resize : vertical ;
11461147
11471148 .visualization-target {
11481149 height : 100% ;
11491150 }
11501151
11511152 .visualization-target-svg {
1153+ >svg {
1154+ height : 100% ;
1155+ }
1156+
11521157 .button {
11531158 position : absolute ;
11541159 cursor : pointer ;
Original file line number Diff line number Diff line change @@ -1408,12 +1408,17 @@ input#auto_increment_opt {
14081408 border : 1px solid #aaa ;
14091409 overflow : hidden ;
14101410 box-sizing : content-box ;
1411+ resize : vertical ;
14111412
14121413 .visualization-target {
14131414 height : 100% ;
14141415 }
14151416
14161417 .visualization-target-svg {
1418+ >svg {
1419+ height : 100% ;
1420+ }
1421+
14171422 .button {
14181423 position : absolute ;
14191424 cursor : pointer ;
Original file line number Diff line number Diff line change @@ -1150,12 +1150,17 @@ input#auto_increment_opt {
11501150 border : 1px solid #aaa ;
11511151 overflow : hidden ;
11521152 box-sizing : content-box ;
1153+ resize : vertical ;
11531154
11541155 .visualization-target {
11551156 height : 100% ;
11561157 }
11571158
11581159 .visualization-target-svg {
1160+ >svg {
1161+ height : 100% ;
1162+ }
1163+
11591164 .button {
11601165 position : absolute ;
11611166 cursor : pointer ;
Original file line number Diff line number Diff line change @@ -1349,12 +1349,17 @@ input#auto_increment_opt {
13491349 border : 1px solid #aaa ;
13501350 overflow : hidden ;
13511351 box-sizing : content-box ;
1352+ resize : vertical ;
13521353
13531354 .visualization-target {
13541355 height : 100% ;
13551356 }
13561357
13571358 .visualization-target-svg {
1359+ >svg {
1360+ height : 100% ;
1361+ }
1362+
13581363 .button {
13591364 position : absolute ;
13601365 cursor : pointer ;
Original file line number Diff line number Diff line change @@ -121,8 +121,8 @@ class SvgVisualization extends GisVisualization {
121121 super ( target ) ;
122122
123123 this . svgEl = $ ( this . target ) . find ( 'svg' ) . get ( 0 ) ;
124- this . originalWidth = $ ( this . svgEl ) . width ( ) ;
125- this . originalHeight = $ ( this . svgEl ) . height ( ) ;
124+ this . originalWidth = Number ( this . svgEl . getAttribute ( 'width' ) ) ;
125+ this . originalHeight = Number ( this . svgEl . getAttribute ( 'height' ) ) ;
126126 this . width = this . originalWidth ;
127127 this . height = this . originalHeight ;
128128
You can’t perform that action at this time.
0 commit comments