Sfoglia il codice sorgente

If no descendant page exists, ms-5 is given.

Shun Miyazawa 2 anni fa
parent
commit
74fda83cdf
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      apps/app/src/components/TreeItem/SimpleItem.tsx

+ 2 - 0
apps/app/src/components/TreeItem/SimpleItem.tsx

@@ -208,6 +208,8 @@ export const SimpleItem: FC<SimpleItemProps> = (props) => {
           )}
         </div>
 
+        {!hasDescendants && <span className="d-flex justify-content-center ms-5" />}
+
         <SimpleItemContent page={page} />
 
         {EndComponents.map((EndComponent, index) => (