cryptocurrency-icons icon indicating copy to clipboard operation
cryptocurrency-icons copied to clipboard

Add viewbox attribute to SVG icons to make them resizable

Open adamkudrna opened this issue 6 years ago • 5 comments

Some SVG icons lack the viewbox attribute and thus cannot be resized via CSS.

For example, Litecoin is fine: image

While Bitcoin is not: image

Proposed solution: ensure that viewbox="0 0 32 32" is present in all SVG icons.

(Previously reported as #63.)

adamkudrna avatar Nov 09 '18 10:11 adamkudrna

+1 I need this in my life.

MicMonen avatar Feb 18 '19 13:02 MicMonen

Resizable svg's for the win. Please add it.

ivands avatar Feb 18 '19 13:02 ivands

PR welcome :)

sindresorhus avatar Feb 18 '19 14:02 sindresorhus

Pull request submitted https://github.com/atomiclabs/cryptocurrency-icons/pull/275

ackushiw avatar Feb 22 '19 17:02 ackushiw

If anyone wants to tackle this, see the previous attempt and the feedback on that PR: https://github.com/atomiclabs/cryptocurrency-icons/pull/275

sindresorhus avatar Jun 14 '19 16:06 sindresorhus