We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eff0dbd commit 4cae450Copy full SHA for 4cae450
src/plugins/expressive-code/output-frame.js
@@ -17,26 +17,19 @@ export default () => {
17
}
18
context.addStyles(`
19
div.expressive-code:has(figure.code-output) {
20
- margin-top: 0 !important;
21
- }
22
-
23
- .code-output .copy {
24
- display: none !important;
+ margin-top: 0.25rem !important;
25
26
27
.code-output > pre {
28
- border-top-width: 0 !important;
29
background: var(--sl-color-gray-6) !important;
30
31
32
- .code-output > pre > code {
33
- user-select: none;
34
- transition: opacity 0.5s ease;
35
+ & > code {
+ transition: opacity 0.5s ease;
36
37
- .code-output > pre > code:hover {
38
- cursor: default;
39
- opacity: 0.5;
+ &:hover {
+ opacity: 0.5;
+ }
40
41
`);
42
},
0 commit comments