diff --git a/source/src/styles/globalStyle.tsx b/source/src/styles/globalStyle.tsx index 75d23bf..77f4a5d 100644 --- a/source/src/styles/globalStyle.tsx +++ b/source/src/styles/globalStyle.tsx @@ -66,9 +66,6 @@ const codeCSS = css` light: "1px solid #BBB", dark: "1px solid #555", })}; - line-height: 1.6; - padding: 0; - display: flex; } /* // todo: fix highlight not working properly when scrolled horizontally // */ @@ -80,7 +77,6 @@ const codeCSS = css` })}; display: block; - width: 100%; margin: 0 -1rem; padding: 0 1rem; } @@ -248,6 +244,11 @@ const globalStyle = css` color: ${theming.color.linkColor}; } + hr { + border: 0; + border-bottom: 1px solid; + } + * { transition: color 0.1s linear; }