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

AP-1099 Set default size of icons to be 20px by 20px #132

Merged
merged 1 commit into from
Nov 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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