danielcranney / profileme-dev

Create an awesome GitHub profile in minutes
http://profileme.dev/
969 stars 152 forks source link

fix: Support icon display in development environment #184

Open LachyTech opened 2 months ago

LachyTech commented 2 months ago

This commit adjusts the CSS for icon backgrounds to use relative paths. In the dev environment this allows the icon selection form to display newly added icons in the source directory, and should also work for a production environment in the same way.

It is important that the icon paths have a hosted URI so that the final Markdown output is able to render the icons. During development this can be locally hosted but the Markdown output will not be usable without changes.

This commit also limits the displayed size of icons to fit within the container allowing larger icons to be used.

vercel[bot] commented 2 months ago

@LachyTech is attempting to deploy a commit to the danielcranney's projects Team on Vercel.

A member of the Team first needs to authorize it.