Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
Fixed generated box-shadow code.
  • Loading branch information
scriptonomy committed Feb 4, 2016
1 parent d8572cb commit 433f79b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/components/CopyCSS.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export const CopyCSS = React.createClass({
const { grid, columns, rows, cellSize } = this.props;
let cssString = generatePixelDrawCss(grid.toJS(), columns, rows, cellSize);
if (!!cssString) {
cssString = cssString.slice(0, -1);
cssString = 'box-shadow:' + cssString + '; '
cssString += 'height: ' + cellSize + 'px; width: ' + cellSize + 'px;';
}
Expand Down
1 change: 0 additions & 1 deletion src/components/Css-display.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const CssDisplay = React.createClass({
let cssString = generatePixelDrawCss(grid.toJS(), columns, rows, cellSize);

if (!!cssString) {
cssString = cssString.slice(0, -1);
cssString = 'box-shadow:' + cssString + '; '
cssString += 'height: ' + cellSize + 'px; width: ' + cellSize + 'px;';
}
Expand Down

0 comments on commit 433f79b

Please sign in to comment.