|
|
@@ -104,14 +104,10 @@ export default (({ posts, onClick }: Props) => { |
|
|
{tagsVsbl && ( |
|
|
{tagsVsbl && ( |
|
|
<motion.div |
|
|
<motion.div |
|
|
key="sptags" |
|
|
key="sptags" |
|
|
className="md:hidden mt-4" |
|
|
|
|
|
variants={{ hidden: { clipPath: 'inset(0 0 100% 0)', |
|
|
|
|
|
height: 0 }, |
|
|
|
|
|
visible: { clipPath: 'inset(0 0 0% 0)', |
|
|
|
|
|
height: 'auto'} }} |
|
|
|
|
|
initial="hidden" |
|
|
|
|
|
animate="visible" |
|
|
|
|
|
exit="hidden" |
|
|
|
|
|
|
|
|
className="md:hidden overflow-hidden" |
|
|
|
|
|
initial={{ height: 0 }} |
|
|
|
|
|
animate={{ height: 'auto' }} |
|
|
|
|
|
exit={{ height: 0 }} |
|
|
transition={{ duration: .2, ease: 'easeOut' }}> |
|
|
transition={{ duration: .2, ease: 'easeOut' }}> |
|
|
{posts.length > 0 && TagBlock} |
|
|
{posts.length > 0 && TagBlock} |
|
|
</motion.div>)} |
|
|
</motion.div>)} |
|
|
|