mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
🎨 styles: change animation header sticky
:%s
This commit is contained in:
@@ -47,7 +47,7 @@
|
|||||||
|
|
||||||
@keyframes showHeaderSticky {
|
@keyframes showHeaderSticky {
|
||||||
0% {
|
0% {
|
||||||
transform: translateY(-7rem);
|
transform: scale(.9);
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
transform: none;
|
transform: none;
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
import classNames from 'classnames'
|
import classNames from 'classnames'
|
||||||
import React, { memo, useEffect, useMemo, useRef, useState } from 'react'
|
import React, { memo, useEffect, useMemo, useRef, useState } from 'react'
|
||||||
import { useModalCommon } from 'src/components/hooks'
|
import { useModalCommon } from 'src/components/hooks'
|
||||||
import { isMobile } from 'src/utils/funtion.utils'
|
|
||||||
import { CartDrawer } from '..'
|
import { CartDrawer } from '..'
|
||||||
import ModalAuthenticate from '../ModalAuthenticate/ModalAuthenticate'
|
import ModalAuthenticate from '../ModalAuthenticate/ModalAuthenticate'
|
||||||
import ModalCreateUserInfo from '../ModalCreateUserInfo/ModalCreateUserInfo'
|
import ModalCreateUserInfo from '../ModalCreateUserInfo/ModalCreateUserInfo'
|
||||||
|
Reference in New Issue
Block a user