angular-svg-round-progressbar icon indicating copy to clipboard operation
angular-svg-round-progressbar copied to clipboard

Responsive Size - Fit the Parent not only to the width.

Open domske opened this issue 7 years ago • 0 comments

The responsive feature is nice. But does not exactly work as I expected. Currently it doesn't really fit the parent size. Only depending on the width of the parent.

We need a option for responsive

contain

The component should fit the parent by using the lowest value of width and height. Like css background-size ´contain´.

cover

Use the highest value of width and height. Like css background-size cover.

height

Use height only.

width

Use width only. (like now)

Problem image: image

Workaround: Otherwise the parent div MUST be a square. And center if needed and and and. ... Could be a lot of work.

domske avatar Jun 14 '17 12:06 domske