cloud-run-button icon indicating copy to clipboard operation
cloud-run-button copied to clipboard

Smaller button image for use in lists

Open grayside opened this issue 5 years ago • 3 comments

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">

grayside avatar Jun 12 '19 20:06 grayside

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

ahmetb avatar Jun 12 '19 21:06 ahmetb

Agreed, better to have button-small.svg

grayside avatar Jun 12 '19 22:06 grayside

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.

ahmetb avatar Jun 13 '19 17:06 ahmetb