Skip to content

Commit

Permalink
fix: delay background image loading
Browse files Browse the repository at this point in the history
  • Loading branch information
subframe7536 committed Oct 13, 2024
1 parent 17ef968 commit 9ce3ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manager/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function generateBackgroundCSS() {
return ''
}
return `
body {
body:has([id='workbench.parts.editor']) {
background-size: ${config.backgroundSize};
background-repeat: no-repeat;
background-attachment: fixed; // for code-server
Expand Down

0 comments on commit 9ce3ae5

Please sign in to comment.