how to make gradient on bar not look squashed? #4724
Unanswered
simply-zaki
asked this question in
Q&A
Replies: 1 comment
-
pls this is a project for a client |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i added a gradient to fill and it looks good but if its height is too small it looks squashed, how do i do something like background-image in css?

the fill:
fill: { type: 'gradient', gradient: { shade: 'dark', type: 'vertical', shadeIntensity: 1, gradientToColors: ['#c026d3'], stops: [0, 60, 100], colorStops: [ { offset: 0, color: '#7c3aed' }, { offset: 60, color: '#d946ef' }, { offset: 100, color: '#5b21b6' }, ] } }
Beta Was this translation helpful? Give feedback.
All reactions