File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 107107 const createNS = ( name ) => document . createElementNS ( ns , name ) ;
108108 const svg = createNS ( "svg" ) ;
109109 svg . style . cssText = `background-color: ${ background } ; stroke: ${ stroke } ; stroke-width: 0.1;
110- border-left: ${ border } thin solid; border-bottom: ${ border } thin solid; width: ${ size } ; position: absolute; top: 0; right: 0` ;
110+ border-left: ${ border } thin solid; border-bottom: ${ border } thin solid; width: ${ size } px ; position: absolute; top: 0; right: 0` ;
111111 svg . setAttribute ( "viewBox" , "0 0 1 1" ) ;
112112 svg . innerHTML = `<g><line x1="0.2" y1="0.2" x2="0.8" y2="0.8"/><line x1="0.2" y1="0.8" x2="0.8" y2="0.2"/></g>` ;
113113 return svg ;
Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ window.onload = () => {
361361 const createNS = ( name ) => document . createElementNS ( ns , name ) ;
362362 const svg = createNS ( "svg" ) ;
363363 svg . style . cssText = `background-color: ${ background } ; stroke: ${ stroke } ; stroke-width: 0.1;
364- border-left: ${ border } thin solid; border-bottom: ${ border } thin solid; width: ${ size } ; position: absolute; top: 0; right: 0` ;
364+ border-left: ${ border } thin solid; border-bottom: ${ border } thin solid; width: ${ size } px ; position: absolute; top: 0; right: 0` ;
365365 svg . setAttribute ( "viewBox" , "0 0 1 1" ) ;
366366 svg . innerHTML = `<g><line x1="0.2" y1="0.2" x2="0.8" y2="0.8"/><line x1="0.2" y1="0.8" x2="0.8" y2="0.2"/></g>` ;
367367 return svg ;
You can’t perform that action at this time.
0 commit comments