File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/components/v2v3/V2V3Project/ProjectDashboard/components Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ export const ProjectHeaderCountdown: React.FC<ProjectHeaderCountdownProps> = ({
30
30
return (
31
31
< div
32
32
className = { twMerge (
33
- 'absolute bottom-5 left-1/2 mx-auto flex w-full max-w-6xl -translate-x-1/2 items-center justify-end pr-4 md:pr-5 xl:pr-0' ,
33
+ 'absolute bottom-5 left-1/2 mx-auto flex w-full max-w-6xl -translate-x-1/2 flex-col items-end pr-2 sm:flex-row sm:items- center sm: justify-end sm: pr-4 md:pr-5 xl:pr-0' ,
34
34
className ,
35
35
) }
36
36
>
37
37
< div className = "mr-3 text-lg text-white" > Closing in</ div >
38
- < div className = "flex gap-3" >
38
+ < div className = "flex gap-1 sm:gap- 3" >
39
39
< CountdownCard label = "DAYS" unit = { days } />
40
40
< CountdownCard label = "HRS" unit = { hours } />
41
41
< CountdownCard label = "MINS" unit = { minutes } />
@@ -52,8 +52,8 @@ export const CountdownCard = ({
52
52
label : ReactNode
53
53
unit : number
54
54
} ) => (
55
- < div className = "flex w-11 flex-1 flex-col items-center rounded-lg border border-smoke-75 bg-smoke-50 py-1 px-1.5 text-black drop-shadow dark:border-slate-400 dark:bg-slate-700 dark:text-white" >
56
- < div className = "text-xl" > { unit } </ div >
55
+ < div className = "flex w-11 flex-1 flex-col items-center rounded-lg border border-smoke-75 bg-smoke-50 py-1 px-1 text-black drop-shadow dark:border-slate-400 dark:bg-slate-700 dark:text-white sm:px-1.5 " >
56
+ < div className = "text-sm sm:text- xl" > { unit } </ div >
57
57
< div className = "text-xs font-medium text-grey-500 dark:text-slate-200" >
58
58
{ label }
59
59
</ div >
You can’t perform that action at this time.
0 commit comments