diff --git a/docs/snippets.md b/docs/snippets.md index 7f175f8..7f744ee 100644 --- a/docs/snippets.md +++ b/docs/snippets.md @@ -28,7 +28,7 @@ To remove the border when collapsed, add just this in a separate CSS snippet: ![tree with colored folders](./assets/indentation.png) ```css -.tree-item.nav-folder:has([data-path="${folderName}"]) { +.tree-item.nav-folder[data-path="${folderName}"] { --nav-indentation-guide-color: var(${color}); } ``` \ No newline at end of file