Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
AP-1099 Set default size of icons to be 20px by 20px (#132)
Browse files Browse the repository at this point in the history
AP-1099 Set default size of icons to be 20px by 20px
  • Loading branch information
Justin Anastos authored Nov 6, 2019
2 parents 9284690 + 2398e1f commit e83b6ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/icons/Icons.story.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ const AllIcons: React.FC = ({ color, ...otherProps }) =>
<Component
{...otherProps}
style={{
width: 20,
height: 20,
color,
}}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/icons/scripts/convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function createCSSAttribute(css: string): JSXAttribute {
// Add css template literal
jsx.openingElement.attributes.push(
createCSSAttribute(
"*{vector-effect: non-scaling-stroke} overflow: visible;"
"*{vector-effect: non-scaling-stroke} overflow: visible; width: 20px; height: 20px;"
)
);
// We need to add '/** @jsx jsx */' to the top of the file,
Expand Down

0 comments on commit e83b6ad

Please sign in to comment.