style : Less H for page progress and vistor less width
This commit is contained in:
@@ -79,7 +79,7 @@ function PageProgressContent() {
|
||||
const finishTimeout = setTimeout(() => setProgress(100), 0)
|
||||
const timeout = setTimeout(() => {
|
||||
setIsVisible(false)
|
||||
setTimeout(() => setProgress(0), 300) // Reset after hiding
|
||||
setTimeout(() => setProgress(0), 900) // Reset after hiding
|
||||
navigationUrlRef.current = null
|
||||
}, 400)
|
||||
return () => {
|
||||
@@ -97,7 +97,7 @@ function PageProgressContent() {
|
||||
className="fixed top-0 left-0 w-full z-50 pointer-events-none transition-opacity duration-300"
|
||||
style={{ opacity: isVisible ? 1 : 0 }}
|
||||
>
|
||||
<Progress value={progress} className="h-0.75 w-full rounded-none bg-transparent" />
|
||||
<Progress value={progress} className="h-0.5 w-full rounded-none bg-transparent" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user