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