docs: fix code sample for using global directive to preserve unused CSS selector

pull/16219/head
Stephen Peasley 3 months ago
parent c4b32c2bff
commit 0a9aa425cc

@ -10,7 +10,7 @@ In some situations a selector may target an element that is not 'visible' to the
<div class="post">{@html content}</div> <div class="post">{@html content}</div>
<style> <style>
.post :global { :global(.post) {
p {...} p {...}
} }
</style> </style>

Loading…
Cancel
Save