diff --git a/booklore-ui/src/app/layout/component/layout-menu/app.menuitem.component.html b/booklore-ui/src/app/layout/component/layout-menu/app.menuitem.component.html index f50029eaf..9c26ed900 100644 --- a/booklore-ui/src/app/layout/component/layout-menu/app.menuitem.component.html +++ b/booklore-ui/src/app/layout/component/layout-menu/app.menuitem.component.html @@ -29,7 +29,7 @@ [queryParams]="item.queryParams" [attr.target]="item.target" tabindex="0" pRipple> - + {{ item.label }} @if (item.items) { @@ -50,7 +50,6 @@ [rounded]="true" [label]="hovered ? '' : (item.bookCount$ | async)?.toString() || ''" [icon]="hovered ? 'pi pi-ellipsis-v' : ''" - [style.width]="'30px'" [style.height]="'30px'" [style.display]="'flex'"> @@ -58,7 +57,7 @@ } @if (item.type === 'Library' && (!admin && !canManipulateLibrary) || item.type === 'All Books' || item.label === 'Unshelved') { -

+

{{ (item.bookCount$ | async)?.toString() || '0' }}

} diff --git a/booklore-ui/src/assets/layout/styles/layout/_menu.scss b/booklore-ui/src/assets/layout/styles/layout/_menu.scss index 2f8ccfca8..15ecc8509 100644 --- a/booklore-ui/src/assets/layout/styles/layout/_menu.scss +++ b/booklore-ui/src/assets/layout/styles/layout/_menu.scss @@ -13,7 +13,10 @@ transition: transform variables.$transitionDuration, left variables.$transitionDuration; background-color: var(--card-background); border-radius: variables.$borderRadius; - padding: 0.5rem 1.35rem; + padding-top: 0.5rem; + padding-bottom: 0.5rem; + padding-left: 1.35rem; + padding-right: 0.8rem; box-shadow: 0px 3px 5px rgba(0, 0, 0, .02), 0px 0px 2px rgba(0, 0, 0, .05), 0px 1px 4px rgba(0, 0, 0, .08); }