Skip to content

Commit

Permalink
Merge pull request #1783 from iFixit/prerendered--support-inline-svg-…
Browse files Browse the repository at this point in the history
…fa-icons
  • Loading branch information
Andrew Gilbert authored Jul 5, 2023
2 parents 6fc887e + f920f12 commit 1e75003
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions frontend/templates/troubleshooting/prerendered.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,28 @@ const renderStyles: SystemStyleObject = {
clear: 'both',
},
},

'.fa-svg-icon': {
svg: {
width: '1em',
height: '1em',
display: 'inline-block',

path: {
fill: 'currentColor',
},
},

'&.xs svg': {
width: '0.5em',
height: '0.5em',
},

'&.sm svg': {
width: '0.75em',
height: '0.75em',
},
},
};

const Prerendered = chakra(function Prerendered({
Expand Down

2 comments on commit 1e75003

@vercel
Copy link

@vercel vercel bot commented on 1e75003 Jul 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-commerce – ./frontend

react-commerce-git-main-ifixit.vercel.app
react-commerce.vercel.app
react-commerce-ifixit.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 1e75003 Jul 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-commerce-prod – ./frontend

react-commerce-prod-git-main-ifixit.vercel.app
react-commerce-prod-ifixit.vercel.app
react-commerce-prod.vercel.app

Please sign in to comment.