Skip to content

Commit

Permalink
Disable csstools/use-nesting for <svelte:head> which doesn't use SCSS
Browse files Browse the repository at this point in the history
  • Loading branch information
hopperelec committed Jun 1, 2024
1 parent 2f2ae47 commit 5ed4623
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/components/monaco-viewer/MonacoViewer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ function closeFile(file: MonacoFile) {
<!-- Override some svelte-highlight styles -->
<svelte:head>
<style>
/* stylelint-disable csstools/use-nesting */
#editor > pre {
margin: 0;
}
Expand All @@ -93,6 +94,7 @@ function closeFile(file: MonacoFile) {
*/
padding: 22px 0 0 68px !important;
}
/* stylelint-enable csstools/use-nesting */
</style>
</svelte:head>

Expand Down

0 comments on commit 5ed4623

Please sign in to comment.