File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ footer p {
170170 margin-bottom : 0 ;
171171}
172172
173- pre , code {
173+ pre {
174174 background : var (--color-bg-secondary );
175175 border : 1px solid var (--color-border );
176176 padding : var (--spacing-sm );
@@ -179,7 +179,20 @@ pre, code {
179179 word-wrap : break-word;
180180}
181181
182- pre , code ::selection {
182+ pre ::selection {
183+ background : var (--color-selection-code-bg );
184+ color : var (--color-text-primary );
185+ }
186+
187+ p > code {
188+ background : var (--color-bg-secondary );
189+ border : 1px solid var (--color-border );
190+ border-radius : var (--border-radius );
191+ white-space : pre-wrap;
192+ word-wrap : break-word;
193+ }
194+
195+ p > code ::selection {
183196 background : var (--color-selection-code-bg );
184197 color : var (--color-text-primary );
185198}
You can’t perform that action at this time.
0 commit comments