diff --git a/projects/ngx/cards/visited-service-card/visited-service-card.component.scss b/projects/ngx/cards/visited-service-card/visited-service-card.component.scss index d4312e2..5e4e46b 100644 --- a/projects/ngx/cards/visited-service-card/visited-service-card.component.scss +++ b/projects/ngx/cards/visited-service-card/visited-service-card.component.scss @@ -4,7 +4,6 @@ .visited-card-wrapper { position: relative; - padding-top: 0.625rem; cursor: pointer; } @@ -14,7 +13,7 @@ .visited-card__type-badge { position: absolute; - top: 0; + top: -0.625rem; right: 0.75rem; display: inline-block; padding: 0.125rem 0.625rem; diff --git a/projects/ngx/declarative-ui/dashboard/card/dashboard-card.component.scss b/projects/ngx/declarative-ui/dashboard/card/dashboard-card.component.scss index 804e241..9f543a6 100644 --- a/projects/ngx/declarative-ui/dashboard/card/dashboard-card.component.scss +++ b/projects/ngx/declarative-ui/dashboard/card/dashboard-card.component.scss @@ -31,7 +31,8 @@ height: 100%; overflow: visible; isolation: isolate; - padding: 0 0.5rem; + padding-inline-start: var(--mfp_cardContainerPadding, 10px); + padding-inline-end: var(--mfp_cardContainerPadding, 10px); } .component-host { diff --git a/projects/ngx/declarative-ui/dashboard/dashboard/dashboard.component.html b/projects/ngx/declarative-ui/dashboard/dashboard/dashboard.component.html index b1c53c1..7fd7f6d 100644 --- a/projects/ngx/declarative-ui/dashboard/dashboard/dashboard.component.html +++ b/projects/ngx/declarative-ui/dashboard/dashboard/dashboard.component.html @@ -105,7 +105,7 @@ /> } - + @for (card of looseCards(); track card.id) {