Skip to content

Commit 500c61c

Browse files
authored
Fix <picture> sources not follow color scheme preference (#12034)
1 parent d53769b commit 500c61c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/rendered-html.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default class extends Component {
1616
<TextContent
1717
...attributes
1818
{{highlightSyntax @html selector='pre > code:not(.language-mermaid)'}}
19-
{{updateSourceMedia @html this.colorScheme.resolvedScheme}}
19+
{{updateSourceMedia this.colorScheme.resolvedScheme @html}}
2020
{{renderMermaids @html}}
2121
>
2222
{{htmlSafe @html}}

0 commit comments

Comments
 (0)