imprv: chnage fontsize of page item count
@@ -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>
</>
@@ -50,7 +50,9 @@ $grw-pagetree-item-padding-left: 10px;
}
.grw-pagetree-count {
- padding: 0.1rem 0.3rem;
+ width: 26px;
+ padding: 0.1rem 0;
+ font-size: 12px;