mirror of
https://github.com/vercel/commerce.git
synced 2025-04-30 06:47:50 +00:00
fix cookie not dismissing
This commit is contained in:
parent
b5022fc809
commit
68752caa60
@ -1,3 +1,3 @@
|
|||||||
.root {
|
.root {
|
||||||
@apply transition-transform transform duration-500 text-center ease-out p-6 bg-primary text-base text-sm md:flex md:text-left flex-row justify-center items-center font-medium fixed bottom-0 w-full z-30;
|
@apply text-center p-6 bg-primary text-base text-sm md:flex md:text-left flex-row justify-center items-center font-medium fixed bottom-0 w-full z-30;
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,13 @@ const Featurebar: FC<Props> = ({
|
|||||||
action,
|
action,
|
||||||
hide,
|
hide,
|
||||||
}) => {
|
}) => {
|
||||||
const rootClassName = cn(s.root, { 'translate-y-full': hide }, className)
|
const rootClassName = cn(
|
||||||
|
s.root,
|
||||||
|
{
|
||||||
|
'transition-transform transform duration-500 ease-out translate-y-full': hide,
|
||||||
|
},
|
||||||
|
className
|
||||||
|
)
|
||||||
return (
|
return (
|
||||||
<div className={rootClassName}>
|
<div className={rootClassName}>
|
||||||
<span className="block md:inline">{title}</span>
|
<span className="block md:inline">{title}</span>
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
@screen lg {
|
@screen lg {
|
||||||
& .name,
|
& .name,
|
||||||
& .price {
|
& .price {
|
||||||
@apply bg-hover-1 text-white;
|
@apply bg-violet-light text-white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user