imprv: Item Count Badge
@@ -101,7 +101,7 @@ type ItemCountProps = {
const ItemCount: FC<ItemCountProps> = (props:ItemCountProps) => {
return (
<>
- <span className="grw-pagetree-count px-0 badge badge-pill badge-light">
+ <span className="grw-pagetree-count px-2 badge badge-pill badge-light">
{props.descendantCount}
</span>
</>
@@ -50,7 +50,7 @@ $grw-pagetree-item-padding-left: 10px;
}
.grw-pagetree-count {
- width: 26px;
+ width: auto;
padding: 0.1rem 0;
font-size: 12px;