fix: Move progress label out of the progress bar
This commit is contained in:
committed by
mrugesh mohapatra
parent
785f8ac384
commit
331ea3ebf9
@ -16,11 +16,12 @@ function Supporters({ isDonating }) {
|
|||||||
</FullWidthRow>
|
</FullWidthRow>
|
||||||
<FullWidthRow>
|
<FullWidthRow>
|
||||||
<div id='supporter-progress-wrapper'>
|
<div id='supporter-progress-wrapper'>
|
||||||
<ProgressBar
|
<ProgressBar max={10000} now={400} />
|
||||||
label={'4000 supporters out of 10,000 goal'}
|
<div id='progress-label-wrapper'>
|
||||||
max={10000}
|
<span className='progress-label'>
|
||||||
now={4000}
|
4000 supporters out of 10,000 goal
|
||||||
/>
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</FullWidthRow>
|
</FullWidthRow>
|
||||||
<FullWidthRow>
|
<FullWidthRow>
|
||||||
|
@ -1,7 +1,14 @@
|
|||||||
#supporter-progress-wrapper .progress {
|
#supporter-progress-wrapper .progress {
|
||||||
height: 38px;
|
height: 38px;
|
||||||
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#supporter-progress-wrapper .progress-bar {
|
#supporter-progress-wrapper .progress-bar {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#progress-label-wrapper {
|
||||||
|
text-align: left;
|
||||||
|
padding-left: 10px;
|
||||||
|
margin-bottom: 25px;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user