elm-creditcard icon indicating copy to clipboard operation
elm-creditcard copied to clipboard

Provide multiple cc size (small, medium, large, extra-large)

Open abadi199 opened this issue 8 years ago • 2 comments

We can provide options in the model with type Size = Small | Medium | Large | ExtraLarge

abadi199 avatar May 18 '16 22:05 abadi199

If you mean that "cc size" == Credit Card image size, how about:

<svg ... width="100%" height="100%" ...>

?

Actually I need this to make the image size responsive. I'm using Bootstrap and tagging the image as .img-responsive.

uebayasi avatar Mar 15 '17 14:03 uebayasi

Good idea. Maybe put that in Config as responsiveSize that can be either True or False? If you want to create a PR for it, I'll be happy to assist you and merge the code. 😃

abadi199 avatar Mar 15 '17 16:03 abadi199