Permalink
Browse files

๐Ÿ›  add close button SVG height & width

  • Loading branch information...
1 parent 6de9f5a commit e8979cc0232f0135479e75e55140309f99a7efbf @desandro desandro committed Nov 17, 2016
Showing with 3 additions and 1 deletion.
  1. +3 โˆ’1 huebee.js
View
@@ -1,5 +1,5 @@
/**
- * Huebee v0.1.0
+ * Huebee v1.0.0
* 1-click color picker
*
* Licensed GPLv3 for open source use
@@ -179,6 +179,8 @@ proto.createCloseButton = function() {
var svg = document.createElementNS( svgURI, 'svg');
svg.setAttribute( 'class', 'huebee__close-button' );
svg.setAttribute( 'viewBox', '0 0 24 24' );
+ svg.setAttribute( 'width', '24' );
+ svg.setAttribute( 'height', '24' );
var path = document.createElementNS( svgURI, 'path');
path.setAttribute( 'd', 'M 7,7 L 17,17 M 17,7 L 7,17' );
path.setAttribute( 'class', 'huebee__close-button__x' );

0 comments on commit e8979cc

Please sign in to comment.