From 5dc8320dc829d4b897168992920328008373546a Mon Sep 17 00:00:00 2001 From: Bouncey Date: Sat, 1 Dec 2018 11:21:01 +0000 Subject: [PATCH] fix: Position label over the progress bar --- client/src/components/Supporters.js | 2 ++ client/src/components/supporters.css | 3 +++ 2 files changed, 5 insertions(+) diff --git a/client/src/components/Supporters.js b/client/src/components/Supporters.js index f66f2d48c0..b87b5d8242 100644 --- a/client/src/components/Supporters.js +++ b/client/src/components/Supporters.js @@ -4,6 +4,7 @@ import { Button, ProgressBar } from '@freecodecamp/react-bootstrap'; import { commaNumber } from '../utils'; import FullWidthRow from '../components/helpers/FullWidthRow'; +import Spacer from '../components/helpers/Spacer'; import './supporters.css'; @@ -28,6 +29,7 @@ function Supporters({ isDonating, activeDonations }) { +

diff --git a/client/src/components/supporters.css b/client/src/components/supporters.css index 554af919d1..dd42d1ba7d 100644 --- a/client/src/components/supporters.css +++ b/client/src/components/supporters.css @@ -11,4 +11,7 @@ text-align: left; padding-left: 10px; margin-bottom: 25px; + position: absolute; + top: 0; + margin-top: 9px; }