Skip to content

Commit

Permalink
Merge pull request #72 from Bostonhacks/timer-position-fix
Browse files Browse the repository at this point in the history
fixed timer center
  • Loading branch information
danielyu12 committed Oct 4, 2023
2 parents b554f13 + 8b70638 commit 843b2f2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/common/CountDownTimer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const CountDownTimer = () => {
const seconds = Math.floor((timeLeft % (1000 * 60)) / 1000);

return (
<div className="flex justify-center space-x-5 mt-10 mb-10 w-[60%] h-[60%] text-white">
<div className="flex justify-center space-x-5 mt-10 mb-10 w-full h-[60%] text-white">
<div className="z-50">
<div className="relative w-55 h-55 md:w-20 md:h-20">
<img src={heartIcon} className="object-cover w-full h-full" />
Expand All @@ -46,7 +46,7 @@ const CountDownTimer = () => {
</div>
</div>
</div>
<p className="text-center text-xs md:text-base font-misterpixel font-bold">
<p className="text-center text-xs md:text-base font-misterpixel font-bold text-black">
DAYS
</p>
</div>
Expand All @@ -60,7 +60,7 @@ const CountDownTimer = () => {
</div>
</div>
</div>
<p className="text-center text-xs md:text-base font-misterpixel font-bold">
<p className="text-center text-xs md:text-base font-misterpixel font-bold text-black">
HOURS
</p>
</div>
Expand All @@ -74,7 +74,7 @@ const CountDownTimer = () => {
</div>
</div>
</div>
<p className="text-center text-xs md:text-base font-misterpixel font-bold">
<p className="text-center text-xs md:text-base font-misterpixel font-bold text-black">
MINUTES
</p>
</div>
Expand All @@ -88,7 +88,7 @@ const CountDownTimer = () => {
</div>
</div>
</div>
<p className="text-center text-xs md:text-base font-misterpixel font-bold">
<p className="text-center text-xs md:text-base font-misterpixel font-bold text-black">
SECONDS
</p>
</div>
Expand Down

0 comments on commit 843b2f2

Please sign in to comment.