Skip to content

Commit

Permalink
chore: made responsive timer into a 2x2 grid
Browse files Browse the repository at this point in the history
  • Loading branch information
OneRandom1509 committed Aug 8, 2024
1 parent 55be19c commit 7b7c234
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/timer/Timer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ const Timer = () => {
}, []);

return (
<div className="w-1/2 md:w-full max-w-screen-lg h-full bg-gradient-to-r from-[#14357A] via-[#1088AC] to-[#1083A9] rounded-3xl skew-x-[-25deg] mx-auto mt-[-30px] partial-border-gradient">
<div className="w-3/5 md:w-full max-w-screen-lg h-full bg-gradient-to-r from-[#14357A] via-[#1088AC] to-[#1083A9] rounded-3xl skew-x-[-25deg] mx-auto mt-8 md:mt-12 partial-border-gradient">
<div className="h-fit w-full timer-bg rounded-xl text-white text-4xl md:text-8xl inline-block text-center p-4 md:p-8">
<div className="flex flex-col md:flex-row justify-around">
<div className="grid grid-cols-2 grid-rows-2 md:flex md:flex-row justify-around">
<div className="w-full md:w-1/4 mb-4 md:mb-0">
<div className="skew-x-[25deg]">
<p id="day" className="-mb-2 md:-mb-10 font-extrabold">
Expand Down

0 comments on commit 7b7c234

Please sign in to comment.