CSS improvements
- removed the double line look from hr tag - cleaned css
This commit is contained in:
parent
06142518cf
commit
77dbc0f946
1 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue