toc css update

This commit is contained in:
jinhojang6 2023-05-16 19:49:40 +09:00 committed by Jinho Jang
parent 16fc375f0c
commit 86fdffc327

View File

@ -70,7 +70,7 @@ export default function TableOfContents({ contents, ...props }: Props) {
const Container = styled.aside<{ dy: number; height: number }>`
display: flex;
flex-wrap: wrap;
flex-direction: row;
flex-direction: column;
box-sizing: border-box;
position: sticky;
top: ${(p) => `${p.dy}px`};