File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -1569,6 +1569,11 @@ code:not(pre > code) {
15691569 background-color : var (--code-inline-bgd-color );
15701570}
15711571
1572+ pre > code {
1573+ border-top-right-radius : 0 !important ;
1574+ border-top-left-radius : 0 !important ;
1575+ }
1576+
15721577.anchor code {
15731578 font-size : inherit;
15741579 display : inline-block;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ the background in custom CSS file due bug https://github.com/facebook/docusaurus
1010:global(.theme-code-block-added-line )::before {
1111 content : " +" !important ;
1212 position : absolute ;
13- left : 16 px ;
13+ left : 8 px ;
1414 color : #47bb78 ;
1515}
1616:global(.theme-code-block-deleted-line ) {
@@ -22,7 +22,7 @@ the background in custom CSS file due bug https://github.com/facebook/docusaurus
2222:global(.theme-code-block-deleted-line )::before {
2323 content : " -" !important ;
2424 position : absolute ;
25- left : 16 px ;
25+ left : 8 px ;
2626 color : #e53e3e ;
2727}
2828
@@ -35,7 +35,7 @@ the background in custom CSS file due bug https://github.com/facebook/docusaurus
3535:global(.theme-code-block-edited-line )::before {
3636 content : " ✎" !important ;
3737 position : absolute ;
38- left : 16 px ;
38+ left : 8 px ;
3939 color : #a0aec0 ;
4040}
4141
@@ -112,3 +112,7 @@ the background in custom CSS file due bug https://github.com/facebook/docusaurus
112112 margin-left : calc (var (--ifm-pre-padding ) + 8.41px );
113113 }
114114}
115+
116+ :global(code :has (.theme-code-block-added-line , .theme-code-block-deleted-line , .theme-code-block-edited-line ) > span ) {
117+ padding-left : 32px !important ;
118+ }
You can’t perform that action at this time.
0 commit comments