@@ -105,22 +105,14 @@ pre,
105105 font-family : ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas,
106106 Liberation Mono, monospace;
107107}
108- .cm-line : not (.cm-code ) + .cm-code {
109- margin-top : 0 !important ;
110- }
111- .cm-code + .cm-line : not (.cm-code ) {
112- margin-top : 1em !important ;
113- }
114- .cm-activeLine .cm-code {
108+ .cm-activeLine .cm-code ,
109+ .cm-activeLine .cm-code-start {
115110 z-index : 10 ;
116111 background : # f6f8fa ;
117112}
118113.cm-code .ͼx {
119114 background : transparent;
120115}
121- .cm-code .cm-activeLine + .cm-line .cm-instruction {
122- display : inline-block;
123- }
124116.cm-editor .cm-list-item {
125117 display : list-item;
126118 margin : 0.3em 0 0.3em 1em ;
@@ -188,8 +180,18 @@ html body div.cm-editor .cm-line::selection {
188180
189181.cm-line .cm-instruction {
190182 color : rgb (175 , 178 , 182 );
183+ display : none;
184+ }
185+ .cm-code + .cm-line .cm-instruction ,
186+ div .cm-code-start .cm-instruction {
187+ display : inline-block;
191188 opacity : 0.3 ;
192189}
190+ .cm-code + .cm-line ,
191+ div .cm-code-start {
192+ background : # f6f8fa ;
193+ }
194+
193195.cm-copy-header .cm-instruction : first-child {
194196 display : inline-block !important ;
195197 width : 0 ;
@@ -254,8 +256,7 @@ html body div.cm-editor .cm-line::selection {
254256.cm-activeLine .cm-instruction ,
255257.cm-activeLine .ͼu,
256258.cm-activeLine .cm-image ,
257- .cm-activeLine + .cm-code-start ,
258- .cm-activeLine + .cm-code-start .cm-instruction ,
259+ .cm-activeLine .cm-code-start .cm-instruction ,
259260.cm-activeLine + .cm-image-container + .cm-line .cm-image ,
260261.cm-activeLine + .cm-image-container + .cm-line .cm-image-alt ,
261262.cm-activeLine + .cm-image-container + .cm-line .cm-instruction ,
0 commit comments