Browse Source

#61

feature/061
みてるぞ 4 days ago
parent
commit
6dedf4148d
1 changed files with 4 additions and 8 deletions
  1. +4
    -8
      frontend/src/components/TagSidebar.tsx

+ 4
- 8
frontend/src/components/TagSidebar.tsx View File

@@ -104,14 +104,10 @@ export default (({ posts, onClick }: Props) => {
{tagsVsbl && (
<motion.div
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' }}>
{posts.length > 0 && TagBlock}
</motion.div>)}


Loading…
Cancel
Save