Browse Source

Set the active state for the currently viewed page path

Shun Miyazawa 2 years ago
parent
commit
bae130eff0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      apps/app/src/components/ItemsTree/ItemsTree.module.scss

+ 4 - 0
apps/app/src/components/ItemsTree/ItemsTree.module.scss

@@ -68,6 +68,10 @@ $grw-pagetree-item-container-height: 40px;
         min-width: 35px;
         height: $grw-pagetree-item-container-height;
       }
+
+      .grw-pagetree-current-page-item {
+        background-color: var(--grw-primary-100);
+      }
     }
   }
   &:global{