Parcourir la source

Set the active state for the currently viewed page path

Shun Miyazawa il y a 2 ans
Parent
commit
bae130eff0
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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{