File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 66 padding-right : 1.5ch ;
77 font-variant-numeric : tabular-nums ;
88}
9+
10+ .ch-code-scroll-parent {
11+ display : block ;
12+ font-weight : normal ;
13+ font-size : 14px ;
14+ line-height : 19px ;
15+ letter-spacing : 0px ;
16+ }
Original file line number Diff line number Diff line change @@ -100,7 +100,6 @@ function Container({
100100 width,
101101 height,
102102 position : "relative" ,
103- display : "block" ,
104103 overflow : "auto" ,
105104 } }
106105 className = "ch-code-scroll-parent"
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ function useDimensions(
6868 const lineCount = lines . length
6969
7070 const element = (
71- < code style = { { display : "block" } } >
71+ < code className = "ch-code-scroll-parent" >
7272 < br />
7373 { lines . map ( ( line , i ) => (
7474 < div
You can’t perform that action at this time.
0 commit comments