forked from crowetic/commerce
fix cookie not dismissing
This commit is contained in:
parent
b5022fc809
commit
68752caa60
@ -1,3 +1,3 @@
|
||||
.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,
|
||||
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 (
|
||||
<div className={rootClassName}>
|
||||
<span className="block md:inline">{title}</span>
|
||||
|
@ -47,7 +47,7 @@
|
||||
@screen lg {
|
||||
& .name,
|
||||
& .price {
|
||||
@apply bg-hover-1 text-white;
|
||||
@apply bg-violet-light text-white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user