fix cookie not dismissing

This commit is contained in:
Julián Benegas 2020-10-23 21:58:05 -03:00
parent b5022fc809
commit 68752caa60
3 changed files with 9 additions and 3 deletions

View File

@ -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;
} }

View File

@ -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>

View File

@ -47,7 +47,7 @@
@screen lg { @screen lg {
& .name, & .name,
& .price { & .price {
@apply bg-hover-1 text-white; @apply bg-violet-light text-white;
} }
} }
} }