Skip to content

Commit 7fe97be

Browse files
committed
pre for filename is always in .code-with-filename-file div
So remove duplicated background rule as transparency does being applied twice fix #7677
1 parent cfd0e52 commit 7fe97be

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/resources/formats/html/_quarto-rules-code-filename.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,11 @@
2121
margin-bottom: 0;
2222
}
2323

24-
.code-with-filename .code-with-filename-file,
25-
.code-with-filename .code-with-filename-file pre {
24+
.code-with-filename .code-with-filename-file {
2625
background-color: rgba(219, 219, 219, 0.8);
2726
}
2827

29-
.quarto-dark .code-with-filename .code-with-filename-file,
30-
.quarto-dark .code-with-filename .code-with-filename-file pre {
28+
.quarto-dark .code-with-filename .code-with-filename-file {
3129
background-color: #555;
3230
}
3331

0 commit comments

Comments
 (0)