kaori 4 лет назад
Родитель
Сommit
f72b7a54a9

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

@@ -100,7 +100,7 @@ type ItemCountProps = {
 const ItemCount: FC<ItemCountProps> = (props:ItemCountProps) => {
   return (
     <>
-      <span className="grw-pagetree-count badge badge-pill badge-light text-muted">
+      <span className="grw-pagetree-count px-0 badge badge-pill badge-light text-muted">
         {props.descendantCount}
       </span>
     </>

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

@@ -51,8 +51,7 @@ $grw-pagetree-item-padding-left: 10px;
 
       .grw-pagetree-count {
         width: 23px;
-        height: 14px;
-        padding: 0.1rem 0.3rem;
+        padding: 0.1rem 0;
         font-size: 12px;
       }
     }