fix: Move progress label out of the progress bar

pull/34531/head
Bouncey 2018-11-29 13:29:41 +00:00 committed by mrugesh mohapatra
parent 785f8ac384
commit 331ea3ebf9
2 changed files with 14 additions and 6 deletions

View File

@ -16,11 +16,12 @@ function Supporters({ isDonating }) {
</FullWidthRow>
<FullWidthRow>
<div id='supporter-progress-wrapper'>
<ProgressBar
label={'4000 supporters out of 10,000 goal'}
max={10000}
now={4000}
/>
<ProgressBar max={10000} now={400} />
<div id='progress-label-wrapper'>
<span className='progress-label'>
4000 supporters out of 10,000 goal
</span>
</div>
</div>
</FullWidthRow>
<FullWidthRow>

View File

@ -1,7 +1,14 @@
#supporter-progress-wrapper .progress {
height: 38px;
margin-bottom: 0px;
}
#supporter-progress-wrapper .progress-bar {
padding-top: 8px;
}
}
#progress-label-wrapper {
text-align: left;
padding-left: 10px;
margin-bottom: 25px;
}