GoogleCloudPlatform / cloud-run-button

Let anyone deploy your GitHub repos to Google Cloud Run with a single click
https://cloud.run
Apache License 2.0
523 stars 91 forks source link

Smaller button image for use in lists #41

Open grayside opened 5 years ago

grayside commented 5 years ago

Lists of deployable apps look better with a smaller button, but to resize the image on GitHub requires leaving markdown for HTML. Add a smaller image that can be referenced to keep it simple.

This is what I'm currently experimenting with:

<img src="https://storage.googleapis.com/cloudrun/button.svg" alt="Run on Google Cloud" height="20">
ahmetb commented 5 years ago

I am thinking we should probably scale down the original svg so that people don’t resort to html.

grayside commented 5 years ago

Agreed, better to have button-small.svg

ahmetb commented 5 years ago

I tried height=40 (by saving this to github gists + save as .md), and it seems to render better. height=20 is a bit too small.

Currently it's 50px, so shrink by 20% would be good enough.