Skip to content

Commit

Permalink
🛠 add close button SVG height & width
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Nov 17, 2016
1 parent 6de9f5a commit e8979cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion huebee.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Huebee v0.1.0
* Huebee v1.0.0
* 1-click color picker
*
* Licensed GPLv3 for open source use
Expand Down Expand Up @@ -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' );
Expand Down

0 comments on commit e8979cc

Please sign in to comment.