Ver código fonte

change class name

yohei0125 4 anos atrás
pai
commit
f099ec1076

+ 1 - 1
packages/app/src/components/Sidebar/PageTree/Item.tsx

@@ -274,7 +274,7 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
         { !isRenameInputShown && (
           <a
             href={page._id}
-            className={`grw-pagetree-title-anchor flex-grow-1 ${hasDescendants ? '' : 'ml-fill-triangle'}`}
+            className={`grw-pagetree-title-anchor flex-grow-1 ${hasDescendants ? '' : 'grw-ml-fill-triangle'}`}
           >
             <p className={`text-truncate m-auto ${page.isEmpty && 'text-muted'}`}>{nodePath.basename(page.path as string) || '/'}</p>
           </a>

+ 1 - 1
packages/app/src/styles/_page-tree.scss

@@ -50,7 +50,7 @@ $grw-pagetree-item-padding-left: 10px;
     > .list-group-item {
       height: 40px;
       // fill in the blank sapce created due to the absence of triangle when the page has no descendants
-      > .ml-fill-triangle {
+      > .grw-ml-fill-triangle {
         margin-left: 35px;
       }
     }