css: make article relative

This commit is contained in:
Jacky Zhao 2023-10-05 13:48:52 -07:00
parent afa163f2fe
commit 3268d45a20

View File

@ -95,6 +95,8 @@ a {
} }
& article { & article {
position: relative;
& > h1 { & > h1 {
font-size: 2rem; font-size: 2rem;
} }
@ -325,7 +327,6 @@ pre {
border-radius: 5px; border-radius: 5px;
overflow-x: auto; overflow-x: auto;
border: 1px solid var(--lightgray); border: 1px solid var(--lightgray);
position: relative;
&:has(> code.mermaid) { &:has(> code.mermaid) {
border: none; border: none;