mirror of
https://github.com/acid-info/logos-press-engine.git
synced 2025-02-23 06:38:27 +00:00
toc css update
This commit is contained in:
parent
16fc375f0c
commit
86fdffc327
@ -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`};
|
||||
|
Loading…
x
Reference in New Issue
Block a user